mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-23 19:02:04 -05: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:
parent
f1fb86e7f6
commit
616b8e5fa8
1 changed files with 12 additions and 0 deletions
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
@ -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]
|
||||
|
|
Loading…
Add table
Reference in a new issue