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 1964c6e commit 629491bCopy full SHA for 629491b
.github/workflows/Release.yaml
@@ -91,10 +91,17 @@ jobs:
91
path: out/
92
key: awesome-ci-${{ github.sha }}
93
94
- - name: list generated artifacts
+ - name: get generated artifacts
95
working-directory: out
96
run: ls -la
97
98
+ - name: Check available assets
99
+ if: hashFiles('out/awesome-ci_${{ needs.generate_infos.outputs.version }}_arm64') != '' || hashFiles('out/awesome-ci_${{ needs.generate_infos.outputs.version }}_amd64') != ''
100
+ uses: actions/github-script@v3
101
+ with:
102
+ script: |
103
+ core.setFailed('Not all files provided')
104
+
105
- name: Publish Release
106
run: awesome-ci release publish -releaseid "$ACI_RELEASE_ID" -assets "file=out/$ARTIFACT1,file=out/$ARTIFACT2"
107
env:
0 commit comments