From 616b8e5fa8e408b61047cede1fcc2df714959d46 Mon Sep 17 00:00:00 2001 From: Romain <66537460+rmnvgr@users.noreply.github.com> Date: Fri, 4 Sep 2020 06:09:14 +0200 Subject: [PATCH] GitHub CI: Add Flathub Beta job (#12836) * Add Flathub Beta job * Only build on push event * Only trigger for develop branch of OpenRCT2 repo --- .github/workflows/ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e4d95ef0cd..f35030686d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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]