We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 313f788 commit e97f6feCopy full SHA for e97f6fe
.github/workflows/sample-action.yml
@@ -10,14 +10,18 @@ jobs:
10
runs-on: ubuntu-latest
11
steps:
12
- uses: actions/checkout@v4
13
- - name: dowload-art
+ - name: check-artifact-exists
14
+ uses: LIT-Protocol/artifact-exists-action@v0
15
+ with:
16
+ name: master_sha
17
+ - if: ${{steps.check-artifact-exists.outputs.exists}}
18
+ name: dowload-art
19
uses: actions/download-artifact@v4
20
with:
21
name: master_sha
22
path: master_sha.txt
-
- - name: print_artifact_sha
23
run: |
24
value=`cat master_sha.txt'
25
echo "result: $value"
26
+ - if: ${{ ! steps.check-artifact-exists.outputs.exists }}
27
+ run: echo "no artifact stored"
0 commit comments