Skip to content

Commit

Permalink
Update workflow steps to use supported actions
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Nov 3, 2024
1 parent be02a2e commit 00df9f6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
shell: powershell

- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1
uses: microsoft/setup-msbuild@v2

- name: Restore NuGet packages
working-directory: ${{env.GITHUB_WORKSPACE}}
Expand All @@ -52,7 +52,7 @@ jobs:
shell: powershell

- name: Setup VSTest.console.exe
uses: darenm/Setup-VSTest@v1.2
uses: darenm/Setup-VSTest@v1.3

- name: Run Unit Tests
run: |
Expand All @@ -70,22 +70,22 @@ jobs:
working-directory: .\tools\scripts

- name: Upload Portable Package
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: darkradiant-portable-package-x64
path: |
tools/scripts/DarkRadiant_install.x64/**/*
!tools/scripts/DarkRadiant_install.x64/**/*.pdb
- name: Upload Portable Package PDBs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: darkradiant-pdb-files-x64
path: |
tools/scripts/DarkRadiant_install.x64/**/*.pdb
- name: Upload Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: unit-test-results
path: TestResults\*.trx
Expand All @@ -97,7 +97,7 @@ jobs:
BUILD_TYPE: Release

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install Package Dependencies
run: |
Expand Down

0 comments on commit 00df9f6

Please sign in to comment.