workflows: run flatpak only in main repo

This commit is contained in:
selsta 2023-09-15 21:35:02 +02:00
parent 12a0966eb9
commit b60a98ae6c
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E

View file

@ -6,6 +6,7 @@ on:
jobs: jobs:
part1: part1:
name: Part 1/3 name: Part 1/3
if: github.repository == 'monero-project/monero-gui'
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: bilelmoussaoui/flatpak-github-actions:kde-5.15-22.08 image: bilelmoussaoui/flatpak-github-actions:kde-5.15-22.08
@ -48,6 +49,7 @@ jobs:
part2: part2:
name: Part 2/3 name: Part 2/3
if: github.repository == 'monero-project/monero-gui'
needs: part1 needs: part1
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
@ -97,6 +99,7 @@ jobs:
part3: part3:
name: Part 3/3 name: Part 3/3
if: github.repository == 'monero-project/monero-gui'
needs: [part1, part2] needs: [part1, part2]
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container: