diff --git a/.github/workflows/manifest.yml b/.github/workflows/manifest.yml index 8ed2c96..c36c721 100644 --- a/.github/workflows/manifest.yml +++ b/.github/workflows/manifest.yml @@ -73,18 +73,12 @@ jobs: with: ref: 'devel' clean: false - - name: test - if: always() - run: echo ${{ steps.checkout-devel.outcome }} == 'success' - - name: test2 - if: always() - run: echo ${{ steps.checkout-devel.outcome }} - name: Generate manifest for devel id: manifest-devel - if: ${{ always() && steps.checkout-devel.outcome == 'success' }} + if: ${{ (success() || failure()) && steps.checkout-devel.outcome == 'success' }} run: python imgen.py - name: Save devel's manifest - if: ${{ steps.checkout-devel.success }} + if: ${{ (success() || failure()) && steps.manifest-devel.outcome == 'success' }} run: mv install_manifest.json deploy/manifests/devel # All artifacts ready now, upload deploy directory - name: Upload artifacts