Skip to content

Commit

Permalink
Update download.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dawidd6 committed Oct 15, 2022
1 parent c49ff0c commit a4022b6
Showing 1 changed file with 1 addition and 28 deletions.
29 changes: 1 addition & 28 deletions .github/workflows/download.yml
Expand Up @@ -12,18 +12,6 @@ jobs:
steps:
- name: Wait
run: sleep 60
in-progress:
runs-on: ubuntu-latest
steps:
- name: Dump
run: |
mkdir artifact
echo temp > artifact/sha
- name: Upload a temporary artifact
uses: actions/upload-artifact@v3
with:
name: artifact
path: artifact
download-latest:
runs-on: ubuntu-latest
needs: wait
Expand Down Expand Up @@ -152,24 +140,9 @@ jobs:
dry_run: true
- name: Test
run: test ${{ steps.download.outputs.dry_run }} == false
download-in-progress:
runs-on: ubuntu-latest
needs: [wait, in-progress]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Download
uses: ./
with:
workflow: upload.yml
name: artifact
path: artifact
workflow_conclusion: in_progress
- name: Test
run: grep temp artifact/sha
download-empty-conclusion:
runs-on: ubuntu-latest
needs: [wait, in-progress]
needs: wait
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit a4022b6

Please sign in to comment.