Skip to content

Commit 61430c2

Browse files
committed
More CI changes.
1 parent 205ee22 commit 61430c2

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/build-release.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,26 +21,27 @@ jobs:
2121
uses: gradle/wrapper-validation-action@v1
2222

2323
- name: Build standard release
24-
run: ./gradlew distZip
24+
run: ./gradlew distZip && ren build/distributions/OpenStarRuler-Launchpad.zip "OpenSR Launchpad $GITHUB_REF_NAME (Standard-Windows).zip"
25+
shell: cmd
2526
- name: Upload standard release
2627
uses: actions/upload-artifact@v4
2728
with:
2829
name: OpenSR Launchpad ${{github.ref_name}} (Standard-Windows).zip
29-
path: build/distributions/OpenStarRuler-Launchpad.zip
30+
path: OpenSR Launchpad ${{github.ref_name}} (Standard-Windows).zip
3031

3132
- name: Build standalone release
3233
run: ./gradlew jlink
3334
- name: Create standalone launcher
3435
run: '"bin\OSRLaunchpad.bat" | Out-File -FilePath OSRLaunchpad.bat -Encoding "ascii"'
3536
shell: powershell
3637
- name: Pack standalone release
37-
run: New-Item -Name "OpenStarRuler-Launchpad" -ItemType "directory"; Rename-Item README.md README.txt; Copy-Item -Path README.txt,LICENSE.txt,build/image/*,OSRLaunchpad.bat -Destination "OpenStarRuler-Launchpad" -Recurse; Compress-Archive -Path "OpenStarRuler-Launchpad" -DestinationPath "standalone-windows.zip"
38+
run: New-Item -Name "OpenStarRuler-Launchpad" -ItemType "directory"; Rename-Item README.md README.txt; Copy-Item -Path README.txt,LICENSE.txt,build/image/*,OSRLaunchpad.bat -Destination "OpenStarRuler-Launchpad" -Recurse; Compress-Archive -Path "OpenStarRuler-Launchpad" -DestinationPath "OpenSR Launchpad $env:GITHUB_REF_NAME (Standalone-Win64).zip"
3839
shell: powershell
3940
- name: Upload standalone release
4041
uses: actions/upload-artifact@v4
4142
with:
4243
name: OpenSR Launchpad ${{github.ref_name}} (Standalone-Win64).zip
43-
path: standalone-windows.zip
44+
path: OpenSR Launchpad ${{github.ref_name}} (Standalone-Win64).zip
4445

4546
build-linux:
4647
runs-on: ubuntu-latest
@@ -55,12 +56,13 @@ jobs:
5556
uses: gradle/wrapper-validation-action@v1
5657

5758
- name: Build standard release
58-
run: ./gradlew distZip
59+
run: ./gradlew distZip && mv build/distributions/OpenStarRuler-Launchpad.zip "OpenSR Launchpad $GITHUB_REF_NAME (Standard-Linux).zip"
60+
shell: bash
5961
- name: Upload standard release
6062
uses: actions/upload-artifact@v4
6163
with:
6264
name: OpenSR Launchpad ${{github.ref_name}} (Standard-Linux).zip
63-
path: build/distributions/OpenStarRuler-Launchpad.zip
65+
path: OpenSR Launchpad ${{github.ref_name}} (Standard-Linux).zip
6466

6567
# TODO: Figure out launcher script (and whether one is even needed)
6668
#- name: Build standalone release

0 commit comments

Comments
 (0)