mirror of
https://github.com/ivabus/pantry
synced 2025-06-08 08:20:32 +03:00
...but only once
This commit is contained in:
parent
5734dc3cca
commit
fe6e491b5e
1 changed files with 12 additions and 8 deletions
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
|
@ -109,6 +109,17 @@ jobs:
|
|||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
|
||||
- name: upload artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ${{ matrix.os }}
|
||||
path: ${{ steps.bottle.outputs.filenames }}
|
||||
if-no-files-found: error
|
||||
|
||||
invalidate-cloudfront:
|
||||
needs: [build]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
#FIXME incredibly inefficient - have upload.ts tell us what to invalidate
|
||||
- uses: chetan/invalidate-cloudfront-action@v2
|
||||
env:
|
||||
|
@ -118,15 +129,8 @@ jobs:
|
|||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
|
||||
- name: upload artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ${{ matrix.os }}
|
||||
path: ${{ steps.bottle.outputs.filenames }}
|
||||
if-no-files-found: error
|
||||
|
||||
verify-relocatable:
|
||||
needs: [build]
|
||||
needs: [invalidate-cloudfront]
|
||||
runs-on: ${{ matrix.os }}
|
||||
defaults:
|
||||
run:
|
||||
|
|
Loading…
Reference in a new issue