Skip to content

Commit

Permalink
Adjust setup-msbuild in actions
Browse files Browse the repository at this point in the history
Enable pre-release and use x64 arch
  • Loading branch information
bagusnl committed Oct 28, 2023
1 parent 5fee64a commit 81cfc67
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ jobs:
uses: actions/cache@v3
with:
path: ${{ env.DOTNET_INSTALL_DIR }}
key: ${{ runner.os }}-dotnet-${{ env.DOTNET_VERSION }}
restore-keys: ${{ runner.os }}-dotnet-${{ env.DOTNET_VERSION }}
key: ${{ runner.os }}-dotnet-${{ env.DOTNET_VERSION }}-${{ matrix.platform }}
restore-keys: ${{ runner.os }}-dotnet-${{ env.DOTNET_VERSION }}-${{ matrix.platform }}

- name: Cache nuget # cache nuget https://github.com/actions/cache/blob/main/examples.md#c---nuget
uses: actions/cache@v3
Expand All @@ -59,6 +59,9 @@ jobs:

- name: Setup MSBuild
uses: microsoft/[email protected]
with:
vs-prerelease: true
msbuild-architecture: ${{ matrix.platform }}

- name: Restore
run: dotnet restore CollapseLauncher
Expand Down

0 comments on commit 81cfc67

Please sign in to comment.