-
Notifications
You must be signed in to change notification settings - Fork 16
38 lines (38 loc) · 1.05 KB
/
main.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
35
36
37
38
on:
push:
branches: [main]
pull_request:
name: CI
jobs:
flatpak:
name: "Flatpak"
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-41
options: --privileged
steps:
- uses: actions/checkout@v2
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4
with:
bundle: PyDrop.flatpak
manifest-path: com.github.Roshan_R.PyDrop.json
cache-key: flatpak-builder-${{ github.sha }}
pkgbuild:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Makepkg Build and Check
with:
pkgdir: build-aux/arch
id: makepkg
uses: edlanglois/pkgbuild-action@v1
- name: Print Package Files
run: |
echo "Successfully created the following package archive"
echo "Package: ${{ steps.makepkg.outputs.pkgfile0 }}"
- name: Upload Package Archive
uses: actions/upload-artifact@v2
with:
name: PyDrop.pkg.tar.zst.zip
path: ${{ steps.makepkg.outputs.pkgfile0 }}