mirror of
https://github.com/redstrate/Astra.git
synced 2025-05-16 22:27:46 +00:00
Build Flatpak on the CI
This commit is contained in:
parent
d69ebf91c7
commit
91bc000d25
1 changed files with 13 additions and 23 deletions
36
.github/workflows/main.yml
vendored
36
.github/workflows/main.yml
vendored
|
@ -316,26 +316,16 @@ jobs:
|
|||
name: ${{ runner.os }}-package
|
||||
path: ${{ steps.strings.outputs.build-output-dir }}/bin
|
||||
|
||||
#build-flatpak:
|
||||
# runs-on: ubuntu-latest
|
||||
|
||||
# steps:
|
||||
# - uses: actions/checkout@v4
|
||||
# with:
|
||||
# submodules: true
|
||||
|
||||
# - name: Setup Linux dependencies
|
||||
# run: |
|
||||
# sudo apt-get update
|
||||
# sudo apt-get install \
|
||||
# flatpak-builder \
|
||||
|
||||
# - name: Build Flatpak
|
||||
# run: |
|
||||
# ./scripts/build-flatpak.sh
|
||||
|
||||
# - name: Archive artifacts
|
||||
# uses: actions/upload-artifact@v4
|
||||
# with:
|
||||
# name: flatpak
|
||||
# path: astra.flatpak
|
||||
flatpak:
|
||||
name: "Flatpak"
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-48
|
||||
options: --privileged
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
|
||||
with:
|
||||
bundle: astra.flatpak
|
||||
manifest-path: zone.xiv.astra.yml
|
||||
cache-key: flatpak-builder-${{ github.sha }}
|
Loading…
Add table
Reference in a new issue