From c76d36cd1a52eb69ddb698fae0b61cca0dcc7ebe Mon Sep 17 00:00:00 2001 From: Hannes Kuchelmeister Date: Tue, 9 Aug 2022 13:11:53 +0200 Subject: [PATCH] add pre release publishing of flatpak --- .github/workflows/ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 22ef492..22d0c9f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,3 +44,19 @@ jobs: cache-key: flatpak-builder-${{ github.sha }} - name: ls run: ls + publish-prerelease: + needs: [flatpak] + runs-on: ubuntu-latest + if: startsWith(github.ref_name, 'main') && github.ref_type == 'branch' + steps: + - uses: actions/download-artifact@v2 + - name: Show files + run: ls + - uses: "marvinpinto/action-automatic-releases@v1.2.1" + with: + repo_token: "${{ secrets.GITHUB_TOKEN }}" + prerelease: true + automatic_release_tag: dev + title: 'Latest Development Build' + files: | + **/*.flatpak