mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 04:05:06 +03:00
save a bottle
This commit is contained in:
parent
710f27d2c8
commit
298cf2b499
1 changed files with 2 additions and 3 deletions
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
|
@ -154,6 +154,7 @@ jobs:
|
||||||
|
|
||||||
bottle:
|
bottle:
|
||||||
needs: [test, build]
|
needs: [test, build]
|
||||||
|
if: ${{ inputs.upload }}
|
||||||
runs-on: ${{ matrix.platform.os }}
|
runs-on: ${{ matrix.platform.os }}
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
|
@ -203,7 +204,6 @@ jobs:
|
||||||
|
|
||||||
- name: upload bottles
|
- name: upload bottles
|
||||||
id: upload
|
id: upload
|
||||||
if: ${{ inputs.upload }}
|
|
||||||
run: scripts/upload.ts
|
run: scripts/upload.ts
|
||||||
--pkgs ${{ needs.build.outputs.built }} ${{ needs.build.outputs.built }}
|
--pkgs ${{ needs.build.outputs.built }} ${{ needs.build.outputs.built }}
|
||||||
--srcs ${{ needs.build.outputs.srcs }} ${{ needs.build.outputs.srcs }}
|
--srcs ${{ needs.build.outputs.srcs }} ${{ needs.build.outputs.srcs }}
|
||||||
|
@ -217,7 +217,6 @@ jobs:
|
||||||
#NOTE ideally we’d invalidate all at once so this is atomic
|
#NOTE ideally we’d invalidate all at once so this is atomic
|
||||||
# however GHA can’t consolidate outputs from a matrix :/
|
# however GHA can’t consolidate outputs from a matrix :/
|
||||||
- uses: chetan/invalidate-cloudfront-action@v2
|
- uses: chetan/invalidate-cloudfront-action@v2
|
||||||
if: ${{ inputs.upload }}
|
|
||||||
env:
|
env:
|
||||||
PATHS: ${{ steps.upload.outputs.cf-invalidation-paths }}
|
PATHS: ${{ steps.upload.outputs.cf-invalidation-paths }}
|
||||||
DISTRIBUTION: ${{ secrets.AWS_CF_DISTRIBUTION_ID }}
|
DISTRIBUTION: ${{ secrets.AWS_CF_DISTRIBUTION_ID }}
|
||||||
|
@ -227,7 +226,7 @@ jobs:
|
||||||
|
|
||||||
notify:
|
notify:
|
||||||
if: always()
|
if: always()
|
||||||
needs: [bottle]
|
needs: [test, build, bottle]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: martialonline/workflow-status@v3
|
- uses: martialonline/workflow-status@v3
|
||||||
|
|
Loading…
Reference in a new issue