refactor: Update alpha.yml workflow to use flat-manager v6.1 for uploading flatpak bundle

This commit is contained in:
Mauro Balades
2024-07-26 09:12:52 +02:00
parent cfd1ef11aa
commit 5c5608938d
4 changed files with 32 additions and 18 deletions

View File

@@ -274,13 +274,12 @@ jobs:
name: com.zen.browser.flatpak
path: com.zen.browser.flatpak
- name: Push flatpak repo
run: |
git config --global user.email "mauro-balades@users.noreply.github.com"
git config --global user.name "mauro-balades"
git add ./repo
git commit -m "Update flatpak repo"
git push
- name: Publish to Flathub (beta)
uses: flatpak/flatpak-github-actions/flat-manager@v6.1
with:
flat-manager-url: https://hub.flathub.org/
repository: beta
token: ${{ secrets.FLATHUB_TOKEN }}
release:
if: ${{ github.event.inputs.create_release == 'true' }}