1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 17:42:29 +01:00

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

View File

@@ -216,6 +216,18 @@ jobs:
with: with:
name: OpenRCT2-AppImage name: OpenRCT2-AppImage
path: artifacts 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: linux-docker:
name: Linux (docker) name: Linux (docker)
needs: [check-code-formatting] needs: [check-code-formatting]