Skip to content

Commit

Permalink
Use windows-latest (#1601)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjohnsonpint authored Apr 26, 2022
1 parent 05c60ca commit 02d7560
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-2022, macos-latest]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- name: Checkout
Expand All @@ -27,7 +27,7 @@ jobs:
fetch-depth: 2 # default is 1 and codecov needs > 1

- name: Setup .NET SDK
if: matrix.os == 'windows-2022'
if: matrix.os == 'windows-latest'
uses: actions/setup-dotnet@v1
with:
dotnet-version: |
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:

- name: Pack
# only pack on windows since we need classic .net assemblies
if: matrix.os == 'windows-2022'
if: matrix.os == 'windows-latest'
run: dotnet pack SentryNoSamples.slnf -c Release --no-build /p:ContinuousIntegrationBuild=true

- name: Upload Verify Results
Expand All @@ -72,7 +72,7 @@ jobs:
- name: Archive Artifacts
# only archive on windows since we only pack on windows. See Pack step.
if: matrix.os == 'windows-2022'
if: matrix.os == 'windows-latest'
uses: actions/upload-artifact@v2
with:
name: ${{ github.sha }}
Expand Down

0 comments on commit 02d7560

Please sign in to comment.