-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (30 loc) · 966 Bytes
/
Copy pathflatpak.yml
File metadata and controls
39 lines (30 loc) · 966 Bytes
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
35
36
37
38
39
name: Build Flatpak
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Dependencies
run: |
sudo apt install flatpak flatpak-builder -y
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
sudo flatpak install org.kde.Sdk//5.15 -y
sudo flatpak install org.kde.Platform//5.15 -y
- name: Build Package
run: flatpak-builder ../build lemonlime.yml
- name: Pack
run: |
flatpak-builder ../build lemonlime.yml --repo=../repo --force-clean
tar -czvf repo.tar.gz ../repo
- name: Upload artifact
uses: actions/upload-artifact@v2-preview
with:
name: LemonLime-repo.tar.gz
path: ./repo.tar.gz