mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-26 12:21:39 +00:00
Attempt 3
This commit is contained in:
parent
0e5a7a307c
commit
cf48f61216
1 changed files with 11 additions and 16 deletions
27
.github/workflows/build.yml
vendored
27
.github/workflows/build.yml
vendored
|
|
@ -15,10 +15,7 @@ jobs:
|
||||||
build-flatpak:
|
build-flatpak:
|
||||||
name: Build Flatpak
|
name: Build Flatpak
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
container:
|
|
||||||
image: bilelmoussaoui/flatpak-github-actions:gnome-44
|
|
||||||
options: --privileged
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
@ -33,26 +30,24 @@ jobs:
|
||||||
token: ${{ secrets.ASSET_REPO_TOKEN }}
|
token: ${{ secrets.ASSET_REPO_TOKEN }}
|
||||||
path: flatpak/private
|
path: flatpak/private
|
||||||
|
|
||||||
- name: Install dependencies
|
# - name: Install dependencies
|
||||||
run: |-
|
# run: |-
|
||||||
apt-get update
|
# sudo apt update
|
||||||
apt-get install -y ninja-build libsdl2-dev libgtk-3-dev
|
# sudo apt install -y ninja-build libsdl2-dev libgtk-3-dev flatpak-builder
|
||||||
|
|
||||||
- name: Prepare Flatpak
|
- name: Prepare Flatpak
|
||||||
run: |
|
run: |
|
||||||
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||||
flatpak install -y flathub org.freedesktop.Sdk//${{env.FREEDESKTOP_VERSION}}
|
flatpak install -y flathub org.freedesktop.Sdk//${{ env.FREEDESKTOP_VERSION }}
|
||||||
flatpak install -y flathub org.freedesktop.Sdk.Extension.llvm${{env.LLVM_VERSION}}//${{env.FREEDESKTOP_VERSION}}
|
flatpak install -y flathub org.freedesktop.Sdk.Extension.llvm${{ env.LLVM_VERSION }}//${{ env.FREEDESKTOP_VERSION }}
|
||||||
|
|
||||||
- name: Build Flatpak
|
- name: Build Flatpak
|
||||||
uses: flatpak/flatpak-github-actions/flatpak-builder@master
|
run: |
|
||||||
with:
|
flatpak-builder --force-clean --user --install-deps-from=flathub --repo=repo --install builddir ${{ env.FLATPAK_ID }}.json
|
||||||
bundle: ${{env.FLATPAK_ID}}.flatpak
|
flatpak build-bundle repo ${{ env.FLATPAK_ID }}.flatpak ${{ env.FLATPAK_ID }} --runtime-repo=https://flathub.org/repo/flathub.flatpakrepo
|
||||||
manifest-path: ./flatpak/${{env.FLATPAK_ID}}.json
|
|
||||||
upload-artifact: false
|
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: UnleashedRecomp-flatpak
|
name: UnleashedRecomp-flatpak
|
||||||
path: ./${{env.FLATPAK_ID}}.flatpak
|
path: ./${{ env.FLATPAK_ID }}.flatpak
|
||||||
Loading…
Add table
Reference in a new issue