parent
fbe6d1f79c
commit
c19529c5a8
|
@ -58,7 +58,7 @@ jobs:
|
||||||
id: check-repo-release
|
id: check-repo-release
|
||||||
run: |
|
run: |
|
||||||
new_release_exists=
|
new_release_exists=
|
||||||
for ver_codename in ubuntu-22.04/jammy ubuntu-20.04/focal; do
|
for ver_codename in 22.04/jammy 20.04/focal; do
|
||||||
ver=${ver_codename%/*}
|
ver=${ver_codename%/*}
|
||||||
codename=${ver_codename##*/}
|
codename=${ver_codename##*/}
|
||||||
# Note the leading v to match the Git tag.
|
# Note the leading v to match the Git tag.
|
||||||
|
@ -82,7 +82,7 @@ jobs:
|
||||||
build-deb:
|
build-deb:
|
||||||
name: Build DEB Packages
|
name: Build DEB Packages
|
||||||
needs: [check-upstream]
|
needs: [check-upstream]
|
||||||
if: ${{ contains(needs.check-upstream.outputs.new_release_exists, matrix.os) }}
|
if: contains('${{ needs.check-upstream.outputs.new_release_exists }}', 'ubuntu-${{ matrix.os }}')
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -138,7 +138,7 @@ jobs:
|
||||||
|
|
||||||
release:
|
release:
|
||||||
needs: [check-upstream, build-deb]
|
needs: [check-upstream, build-deb]
|
||||||
if: ${{ contains(needs.check-upstream.outputs.new_release_exists, matrix.os) }}
|
if: contains('${{ needs.check-upstream.outputs.new_release_exists }}', 'ubuntu-${{ matrix.os }}')
|
||||||
# Avoid push conflicts.
|
# Avoid push conflicts.
|
||||||
concurrency: update_repository
|
concurrency: update_repository
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
Loading…
Reference in New Issue