Skip to content

Commit 08c3668

Browse files
committed
ffmpeg: Create release even if some builds fail
1 parent 3cc5c43 commit 08c3668

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ jobs:
77
build:
88
name: ${{ matrix.build }} ${{ matrix.arch }}
99
runs-on: ${{ matrix.os }}
10+
continue-on-error: true
1011

1112
strategy:
1213
fail-fast: false
@@ -72,6 +73,7 @@ jobs:
7273
if: ${{ always() }}
7374

7475
create-release:
76+
needs: [build]
7577
runs-on: "ubuntu-20.04"
7678
if: github.ref == 'refs/heads/master'
7779
permissions:
@@ -100,6 +102,6 @@ jobs:
100102
ls -al artifacts/
101103
wget -c https://github.com/tcnksm/ghr/releases/download/v0.14.0/ghr_v0.14.0_linux_amd64.tar.gz
102104
tar xfv ghr_v0.14.0_linux_amd64.tar.gz
103-
ghr_v0.14.0_linux_amd64/ghr -u Vita3K -r ffmpeg-core -n 'Automatic FFmpeg CI builds (${{ env.COMMIT_SHORT_SHA }})' -b "$(printf "Corresponding commit: ${{ github.sha }}")" ${{ env.COMMIT_SHORT_SHA }} artifacts/
105+
ghr_v0.14.0_linux_amd64/ghr -u RPCS3 -r ffmpeg-core -n 'Automatic FFmpeg CI builds (${{ env.COMMIT_SHORT_SHA }})' -b "$(printf "Corresponding commit: ${{ github.sha }}")" ${{ env.COMMIT_SHORT_SHA }} artifacts/
104106
env:
105107
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)