Fix workflows conditions

This commit is contained in:
Cuong-Tran 2025-04-15 00:51:43 +07:00
parent 9106571ec5
commit 2e5c00c5a0
No known key found for this signature in database
GPG key ID: 733AA7624B9315C2
3 changed files with 2 additions and 3 deletions

View file

@ -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

View file

@ -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

View file

@ -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