mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-22 06:17:56 +00:00
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:
parent
f2575de977
commit
6e9e68c1e7
@ -21,7 +21,7 @@ jobs:
|
|||||||
git config --global core.eol lf
|
git config --global core.eol lf
|
||||||
|
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
@ -82,14 +82,14 @@ jobs:
|
|||||||
more $logName
|
more $logName
|
||||||
|
|
||||||
- name: Upload Logs Ubuntu
|
- name: Upload Logs Ubuntu
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v4
|
||||||
if: contains(matrix.os, 'ubuntu') && always()
|
if: contains(matrix.os, 'ubuntu') && always()
|
||||||
with:
|
with:
|
||||||
name: "${{matrix.os}}-unit-tests-${{steps.ubuntu_result.outputs.result}}.log"
|
name: "${{matrix.os}}-unit-tests-${{steps.ubuntu_result.outputs.result}}.log"
|
||||||
path: HIRS_Provisioner.NET/*.log
|
path: HIRS_Provisioner.NET/*.log
|
||||||
|
|
||||||
- name: Upload Logs Windows
|
- name: Upload Logs Windows
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v4
|
||||||
if: contains(matrix.os, 'windows') && always()
|
if: contains(matrix.os, 'windows') && always()
|
||||||
with:
|
with:
|
||||||
name: "${{matrix.os}}-unit-tests-${{steps.window_result.outputs.result}}.log"
|
name: "${{matrix.os}}-unit-tests-${{steps.window_result.outputs.result}}.log"
|
||||||
|
Loading…
Reference in New Issue
Block a user