Compare commits
6 Commits
v3.6.1
...
b67282da9f
Author | SHA1 | Date | |
---|---|---|---|
b67282da9f | |||
3c1d60a01b | |||
c127f32583 | |||
8636d09b9b | |||
87a94cead7 | |||
34a1206422 |
@@ -35,7 +35,7 @@ jobs:
|
||||
- name: Download binary
|
||||
id: binary-check
|
||||
run: |
|
||||
wget --content-disposition -nv "$DETERMINATE_URL"
|
||||
wget --content-disposition -nv "$DETERMINATE_URL" -o "$DETERMINATE_BINARY"
|
||||
|
||||
if git diff --quiet && git ls-files --error-unmatch "$DETERMINATE_BINARY"; then
|
||||
echo "DETERMINATE_BINARY_DIFF=0" | tee -a "$GITHUB_OUTPUT"
|
||||
@@ -46,6 +46,7 @@ jobs:
|
||||
DETERMINATE_URL: ${{ env.DETERMINATE_URL }}
|
||||
DERMINATE_BINARY: ${{ env.DETERMINATE_BINARY }}
|
||||
- uses: actions/upload-artifact@v3
|
||||
if: ${{ steps.binary-check.outputs.DETERMINATE_BINARY_DIFF != 0}}
|
||||
with:
|
||||
name: determinate-binary
|
||||
path: ${{ env.DETERMINATE_BINARY }}
|
||||
@@ -59,7 +60,7 @@ jobs:
|
||||
commit-data:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [download-binary]
|
||||
if: always() && ${{ needs.download-binary.outputs.DETERMINATE_BINARY_DIFF != 0 }}
|
||||
if: ${{ needs.download-binary.outputs.DETERMINATE_BINARY_DIFF != 0 }}
|
||||
steps:
|
||||
- name: Reset outputs from previous job
|
||||
run: |
|
Reference in New Issue
Block a user