Skip to content

Commit

Permalink
Merge pull request #114 from Shadowghost/ci-fix
Browse files Browse the repository at this point in the history
Fail matrix when one fails, overwrite existing release assets
  • Loading branch information
nyanmisaka authored Mar 9, 2022
2 parents e8eb9c0 + 48e9b8b commit 6f89c5a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/_meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
name: 'Build FFmpeg'
runs-on: ubuntu-latest
strategy:
fail-fast: false
fail-fast: true
matrix:
release: ${{fromJson(inputs.codenames)}}
arch: ${{fromJson(inputs.architectures)}}
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
needs:
- build
strategy:
fail-fast: false
fail-fast: true
matrix:
release: ${{fromJson(inputs.codenames)}}
arch: ${{fromJson(inputs.architectures)}}
Expand Down Expand Up @@ -101,6 +101,7 @@ jobs:
uses: shogo82148/actions-upload-release-asset@v1.5.0
with:
upload_url: ${{ github.event.release.upload_url }}
overwrite: true
asset_path: |
./artifact/**/*.zip
./artifact/**/*.deb
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- build_publish_ubuntu
- build_publish_windows
strategy:
fail-fast: false
fail-fast: true
matrix:
arrays: [
{distro: 'debian', codename: 'buster'},
Expand Down

0 comments on commit 6f89c5a

Please sign in to comment.