mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-01 21:17:44 -05:00
build: Add support for flatpaks
Based on the original work of @Calinou
This commit is contained in:
17
.github/workflows/build.yml
vendored
17
.github/workflows/build.yml
vendored
@@ -12,6 +12,9 @@ jobs:
|
||||
linux:
|
||||
runs-on: ubuntu-20.04
|
||||
name: 🐧 Ubuntu 20.04
|
||||
container:
|
||||
image: bilelmoussaoui/flatpak-github-actions:gnome-40
|
||||
options: --privileged
|
||||
steps:
|
||||
|
||||
- name: 🧰 Checkout
|
||||
@@ -39,6 +42,13 @@ jobs:
|
||||
..
|
||||
make -j 4 install
|
||||
|
||||
- name: ✋ Bundle Flatpak
|
||||
uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4
|
||||
with:
|
||||
bundle: imhex.flatpak
|
||||
manifest-path: dist/net.werwolv.ImHex.yaml
|
||||
cache-key: flatpak-builder-${{ github.sha }}
|
||||
|
||||
- name: 📦 Upload ELF
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
@@ -46,6 +56,13 @@ jobs:
|
||||
path: |
|
||||
build/install/*
|
||||
|
||||
- name: 📦 Upload Flatpak
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Linux Flatpak
|
||||
path: |
|
||||
build/*.flatpak
|
||||
|
||||
win:
|
||||
runs-on: windows-latest
|
||||
name: 🟦 Windows MINGW64
|
||||
|
||||
Reference in New Issue
Block a user