GitHub CI: Add Flathub Beta job (#12836)

* Add Flathub Beta job

* Only build on push event

* Only trigger for develop branch of OpenRCT2 repo
This commit is contained in:
Romain 2020-09-04 06:09:14 +02:00 committed by GitHub
parent f1fb86e7f6
commit 616b8e5fa8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -216,6 +216,18 @@ jobs:
with:
name: OpenRCT2-AppImage
path: artifacts
linux-flathub-beta:
name: Linux (Flathub beta channel)
if: github.repository == 'OpenRCT2/OpenRCT2' && github.ref == 'refs/heads/develop' && github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- name: Send dispatch event to OpenRCT2 Flathub repository
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.OPENRCT2_FLATHUB_TOKEN }}
repository: flathub/io.openrct2.OpenRCT2
event-type: openrct2_develop_push
client-payload: '{ "commit": "${{ github.sha }}" }'
linux-docker:
name: Linux (docker)
needs: [check-code-formatting]