Skip to content

Commit

Permalink
fix GHA build installer
Browse files Browse the repository at this point in the history
  • Loading branch information
megahirt committed Jun 15, 2024
1 parent dbe8542 commit 8a6f512
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions .github/workflows/build-test-installer-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,23 +41,25 @@ jobs:
runs-on: windows-2019

steps:
- uses: actions/checkout@v4
- uses: microsoft/setup-msbuild@v2

# nuget and TC dependencies come from the cache
- uses: actions/cache@v4
- name: Checkout
uses: actions/checkout@v4
with:
path: src\packages
key: ${{ runner.os }}-nuget-${{ hashFiles('src/SolidGui/packages.config') }} # hash of one packages.config (there are others)
fetch-depth: '0'

- uses: actions/cache@v4
- name: Cache NuGet packages
id: cache-nuget
uses: actions/cache@v3
with:
path: lib
key: ${{ runner.os }}-teamcity-${{ hashFiles('build/getDependencies-windows.sh') }}

path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }}
restore-keys: |
${{ runner.os }}-nuget-
- name: Build Solid for Release
run: msbuild /p:Configuration=Release src/solid.sln
- name: Restore
run: dotnet restore src/solid.sln

- name: Build
run: dotnet build -c Release src/solid.sln --no-restore

- name: Build Installer
run: iscc installer/setup.iss
Expand Down

0 comments on commit 8a6f512

Please sign in to comment.