-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (30 loc) · 944 Bytes
/
build-publish.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
name: Build and publish
on:
push:
branches:
- main
paths:
- 'com.tibia.Tibia.*'
workflow_dispatch: # Allow manual triggering of the workflow
jobs:
build:
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:freedesktop-24.08
options: --privileged
steps:
- uses: actions/checkout@v4
- uses: crazy-max/ghaction-import-gpg@v6
id: import-gpg
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
manifest-path: com.tibia.Tibia.json
gpg-sign: ${{ steps.import-gpg.outputs.keyid }}
- uses: flatpak/flatpak-github-actions/flat-manager@v6
with:
repository: ""
flat-manager-url: https://tibiapak.rsa.sh
token: ${{ secrets.REPO_TOKEN }}