Skip to content

Commit

Permalink
Adjustment for release script
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinW1998 committed May 20, 2024
1 parent 0fa8cd7 commit b28e07b
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ on:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"

env:
CELESTE_LAUNCHER_OUTPUT: ${{github.workspace}}/Celeste_Launcher_Gui/bin/Release/net48/
CELESTE_INSTALLER_OUTPUT: ${{github.workspace}}/Installer/Output/


jobs:
build:
runs-on: windows-latest
Expand All @@ -29,8 +34,13 @@ jobs:
- name: Build solution
run: msbuild Celeste_Launcher.sln /nologo /nr:false /p:Version=$env:lastReleaseVersion /p:platform="Any CPU" /p:configuration="Release"

- name: Build installer
uses: Minionguyjpro/[email protected]
with:
path: Installer/celeste.iss

- name: Zip the build output directory
run: Compress-Archive -Path Celeste_Launcher_Gui/bin/Release/net48/* -Destination CelesteLauncher.zip
run: Compress-Archive -Path ${{ env.CELESTE_LAUNCHER_OUTPUT }}/* -Destination CelesteLauncher.zip

- name: Generate changelog
id: generate_changelog
Expand All @@ -50,3 +60,4 @@ jobs:
body_path: Changelog.md
files: |
CelesteLauncher.zip
"${{ env.CELESTE_INSTALLER_OUTPUT }}/CelesteInstaller.exe"

0 comments on commit b28e07b

Please sign in to comment.