Try uninstall icon #40
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- dev_standalone_installer | |
pull_request: | |
branches: | |
- dev_standalone_installer | |
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 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Get Build Version | |
run: | | |
$lastTagHash = $(git rev-list --tags --max-count=1) | |
$lastTagName = $(git describe --tags $lastTagHash) | |
$lastRelease = $lastTagName.Substring(1) | |
echo "lastReleaseVersion=$lastRelease" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append | |
Write-Host $env:lastReleaseVersion | |
shell: pwsh | |
- uses: microsoft/setup-msbuild@v2 | |
- uses: NuGet/setup-nuget@v2 | |
- name: Restore NuGet packages | |
run: nuget restore Celeste_Launcher.sln | |
- 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: Upload artifact (binary files) | |
uses: actions/upload-artifact@v4 | |
with: | |
name: CI-Artifact-Binary | |
path: "${{ env.CELESTE_LAUNCHER_OUTPUT }}" | |
- name: Upload artifact (installer) | |
uses: actions/upload-artifact@v4 | |
with: | |
name: CI-Artifact-Installer | |
path: "${{ env.CELESTE_INSTALLER_OUTPUT }}" |