dotnet_provisioner_unit_tests workflow will use newer actions (#840)

* Update dotnet_provisioner_unit_tests to use upload-artifactv4 and checkoutv4
This commit is contained in:
5B96790E3664F40075A67E6ADF737EDB15B4408DBC91A81228B31537B0CE3E26 2024-09-18 13:16:38 -04:00 committed by GitHub
parent f2575de977
commit 6e9e68c1e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,7 +21,7 @@ jobs:
git config --global core.eol lf
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
@ -82,14 +82,14 @@ jobs:
more $logName
- name: Upload Logs Ubuntu
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: contains(matrix.os, 'ubuntu') && always()
with:
name: "${{matrix.os}}-unit-tests-${{steps.ubuntu_result.outputs.result}}.log"
path: HIRS_Provisioner.NET/*.log
- name: Upload Logs Windows
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: contains(matrix.os, 'windows') && always()
with:
name: "${{matrix.os}}-unit-tests-${{steps.window_result.outputs.result}}.log"