Skip to content

Commit

Permalink
(build) Make workflow similar to Cake.Discord
Browse files Browse the repository at this point in the history
There are still some build errors, so moving the workflow to be similar
to what is in Cake.Discord, since this was updated recently by Nils,
and is known to be working.
  • Loading branch information
gep13 committed Aug 7, 2024
1 parent ef99cdb commit 16dc739
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-18.04, macos-13]
os: [windows-2022, ubuntu-22.04, macos-12]

env:
AZURE_PASSWORD: ${{ secrets.AZURE_PASSWORD }}
Expand Down Expand Up @@ -51,7 +51,18 @@ jobs:
uses: actions/cache@v3
with:
path: tools
key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }}
key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake', '.config/dotnet-tools.json') }}

- name: Setup required dotnet versions
uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee # v4.0.1
with:
dotnet-version: |
2.1.818
3.1.x
5.0.x
6.0.x
7.0.x
8.0.x
- name: Build project
uses: cake-build/cake-action@v1
Expand Down

0 comments on commit 16dc739

Please sign in to comment.