mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-10-30 07:11:05 +00:00
Updated flatpak build script (#467)
This commit is contained in:
parent
999fa2af61
commit
716200e7df
2 changed files with 8 additions and 30 deletions
13
.github/workflows/build-flatpak.yml
vendored
13
.github/workflows/build-flatpak.yml
vendored
|
|
@ -14,30 +14,33 @@ jobs:
|
|||
runs-on: ubuntu-24.04
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
token: ${{ secrets.ORG_TOKEN }}
|
||||
|
||||
- name: Checkout private repository
|
||||
- name: Checkout Private Repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: ${{ secrets.ASSET_REPO }}
|
||||
token: ${{ secrets.ASSET_REPO_TOKEN }}
|
||||
path: flatpak/private
|
||||
path: ./private
|
||||
|
||||
- name: Install dependencies
|
||||
- name: Install Dependencies
|
||||
run: |-
|
||||
sudo apt update
|
||||
sudo apt install -y flatpak-builder ccache
|
||||
|
||||
- name: Cache ccache directory
|
||||
- name: Setup ccache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: /tmp/ccache
|
||||
key: ccache-${{ runner.os }}
|
||||
|
||||
- name: Prepare Project
|
||||
run: cp ./private/* ./UnleashedRecompLib/private
|
||||
|
||||
- name: Prepare Flatpak
|
||||
run: |
|
||||
flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||
|
|
|
|||
|
|
@ -32,31 +32,6 @@
|
|||
{
|
||||
"type": "dir",
|
||||
"path": "../"
|
||||
},
|
||||
{
|
||||
"type": "file",
|
||||
"path": "private/default.xex",
|
||||
"dest": "UnleashedRecompLib/private"
|
||||
},
|
||||
{
|
||||
"type": "file",
|
||||
"path": "private/default.xexp",
|
||||
"dest": "UnleashedRecompLib/private"
|
||||
},
|
||||
{
|
||||
"type": "file",
|
||||
"path": "private/default_patched.xex",
|
||||
"dest": "UnleashedRecompLib/private"
|
||||
},
|
||||
{
|
||||
"type": "file",
|
||||
"path": "private/shader.ar",
|
||||
"dest": "UnleashedRecompLib/private"
|
||||
},
|
||||
{
|
||||
"type": "file",
|
||||
"path": "private/shader_decompressed.ar",
|
||||
"dest": "UnleashedRecompLib/private"
|
||||
}
|
||||
],
|
||||
"build-options": {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue