-
-
Notifications
You must be signed in to change notification settings - Fork 89
34 lines (32 loc) · 948 Bytes
/
client-linux-x64.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: SysDVR-Client flatpak linux x64
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install flatpak
run: |
sudo apt update
sudo apt install flatpak flatpak-builder -y
flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: "8.x"
- name: Cache flatpak builds
uses: actions/cache@v3
with:
path: Client/Platform/Linux/.flatpak-builder
key: flatpak-${{ runner.os }}
- name: Run build script
run: |
cd Client/Platform/Linux
chmod +x build-flatpak.sh
./build-flatpak.sh
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: SysDVR-Client.flatpak
path: Client/Platform/Linux/SysDVR-Client.flatpak