Skip to content

Commit

Permalink
Use artifact from this or previous build
Browse files Browse the repository at this point in the history
  • Loading branch information
theotherp committed Nov 20, 2023
1 parent 11dcc79 commit c385076
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/system-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,15 @@ jobs:
- uses: actions/checkout@v3
name: "Check out source"

- name: "Download windows artifact (from this or previous workflow)"
- name: "Download windows artifact from current workflow"
id: "downloadArtifactThisBuild"
uses: actions/download-artifact@master
with:
name: coreWindows
path: core.exe

- name: "Download windows artifact from previous workflow if no native build was executed"
if: ${{steps.downloadArtifactThisBuild.conclusion == 'failure'}}
uses: dawidd6/action-download-artifact@v2
with:
name: coreWindows
Expand Down

0 comments on commit c385076

Please sign in to comment.