mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-06 03:18:19 +00:00
chore: Update flatpak release process
This commit is contained in:
15
.github/workflows/alpha.yml
vendored
15
.github/workflows/alpha.yml
vendored
@@ -284,7 +284,6 @@ jobs:
|
|||||||
name: zen-${{ matrix.generic == true && 'generic' || 'specific' }}.AppImage
|
name: zen-${{ matrix.generic == true && 'generic' || 'specific' }}.AppImage
|
||||||
path: ./dist/zen-${{ matrix.generic == true && 'generic' || 'specific' }}.AppImage
|
path: ./dist/zen-${{ matrix.generic == true && 'generic' || 'specific' }}.AppImage
|
||||||
|
|
||||||
|
|
||||||
release-flatpak:
|
release-flatpak:
|
||||||
if: ${{ github.event.inputs.create_release == 'true' }}
|
if: ${{ github.event.inputs.create_release == 'true' }}
|
||||||
permissions: write-all
|
permissions: write-all
|
||||||
@@ -293,11 +292,6 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install Python
|
|
||||||
uses: actions/setup-python@v2
|
|
||||||
with:
|
|
||||||
python-version: '3.x'
|
|
||||||
|
|
||||||
- name: Clone flatpak repo
|
- name: Clone flatpak repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@@ -314,7 +308,7 @@ jobs:
|
|||||||
- name: Download flatpak archive
|
- name: Download flatpak archive
|
||||||
run: |
|
run: |
|
||||||
wget https://github.com/zen-browser/flatpak/releases/latest/download/archive.tar -O archive.tar
|
wget https://github.com/zen-browser/flatpak/releases/latest/download/archive.tar -O archive.tar
|
||||||
wget https://github.com/zen-browser/desktop/releases/download/1.0.0-a.12/zen.linux-generic.tar.bz2 -O zen.linux-generic.tar.bz2
|
wget https://github.com/zen-browser/desktop/releases/download/1.0.0-a.12/zen.linux-generic.tar.bz2
|
||||||
|
|
||||||
- name: Setup git
|
- name: Setup git
|
||||||
run: |
|
run: |
|
||||||
@@ -335,13 +329,18 @@ jobs:
|
|||||||
git add io.github.zen_browser.zen.yml
|
git add io.github.zen_browser.zen.yml
|
||||||
git commit -m "Update to version ${{ needs.build-data.outputs.version }}"
|
git commit -m "Update to version ${{ needs.build-data.outputs.version }}"
|
||||||
|
|
||||||
|
|
||||||
- name: Clean up
|
- name: Clean up
|
||||||
run: |
|
run: |
|
||||||
rm -rf zen-browser
|
rm -rf zen-browser
|
||||||
rm -rf archive.tar
|
rm -rf archive.tar
|
||||||
rm -rf zen.linux-generic.tar.bz2
|
rm -rf zen.linux-generic.tar.bz2
|
||||||
|
|
||||||
|
- name: Upload flatpak manifest
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: io.github.zen_browser.zen.yml
|
||||||
|
path: ./io.github.zen_browser.zen.yml
|
||||||
|
|
||||||
- name: Create pull request
|
- name: Create pull request
|
||||||
uses: peter-evans/create-pull-request@v6
|
uses: peter-evans/create-pull-request@v6
|
||||||
env:
|
env:
|
||||||
|
Reference in New Issue
Block a user