Fix workflows conditions
This commit is contained in:
parent
9106571ec5
commit
2e5c00c5a0
3 changed files with 2 additions and 3 deletions
1
.github/workflows/build_benchmark.yml
vendored
1
.github/workflows/build_benchmark.yml
vendored
|
|
@ -59,7 +59,6 @@ jobs:
|
||||||
build-app:
|
build-app:
|
||||||
runs-on: 'ubuntu-24.04'
|
runs-on: 'ubuntu-24.04'
|
||||||
needs: prepare-build
|
needs: prepare-build
|
||||||
if: startsWith(github.ref, 'refs/tags') && github.repository == 'komikku-app/komikku'
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clone Repository (${{ needs.prepare-build.outputs.TAG_NAME }})
|
- name: Clone Repository (${{ needs.prepare-build.outputs.TAG_NAME }})
|
||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
|
|
|
||||||
2
.github/workflows/build_preview.yml
vendored
2
.github/workflows/build_preview.yml
vendored
|
|
@ -117,7 +117,7 @@ jobs:
|
||||||
build-app:
|
build-app:
|
||||||
runs-on: 'ubuntu-24.04'
|
runs-on: 'ubuntu-24.04'
|
||||||
needs: prepare-build
|
needs: prepare-build
|
||||||
if: github.ref == 'refs/heads/master' && github.repository == 'komikku-app/komikku'
|
if: github.ref == 'refs/heads/master'
|
||||||
steps:
|
steps:
|
||||||
- name: Clone Repository (${{ needs.prepare-build.outputs.VERSION_TAG }} - ${{ needs.prepare-build.outputs.TAG_NAME }})
|
- name: Clone Repository (${{ needs.prepare-build.outputs.VERSION_TAG }} - ${{ needs.prepare-build.outputs.TAG_NAME }})
|
||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
|
|
|
||||||
2
.github/workflows/build_release.yml
vendored
2
.github/workflows/build_release.yml
vendored
|
|
@ -90,7 +90,7 @@ jobs:
|
||||||
name: Build release app
|
name: Build release app
|
||||||
runs-on: 'ubuntu-24.04'
|
runs-on: 'ubuntu-24.04'
|
||||||
needs: prepare-build
|
needs: prepare-build
|
||||||
if: startsWith(github.ref, 'refs/tags/v') && github.repository == 'komikku-app/komikku'
|
if: startsWith(github.ref, 'refs/tags/v')
|
||||||
steps:
|
steps:
|
||||||
- name: Clone Repository (${{ needs.prepare-build.outputs.VERSION_TAG }})
|
- name: Clone Repository (${{ needs.prepare-build.outputs.VERSION_TAG }})
|
||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue