Skip to content

Commit 2eac00e

Browse files
flatpak github actions
1 parent d28a970 commit 2eac00e

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

.github/workflows/flatpak_main.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
on:
2+
push:
3+
branches: [main]
4+
pull_request:
5+
name: CI
6+
jobs:
7+
flatpak:
8+
name: "Flatpak"
9+
runs-on: ubuntu-latest
10+
container:
11+
image: bilelmoussaoui/flatpak-github-actions:freedesktop-21.08
12+
options: --privileged
13+
steps:
14+
- uses: actions/checkout@v2
15+
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4
16+
name: "Build"
17+
with:
18+
bundle: test_modbus-tcp-client-shm.flatpak
19+
manifest-path: network.koesling.modbus-tcp-client-shm
20+
cache-key: flatpak-builder-${{ github.sha }}

.github/workflows/flatpak_release.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
on:
2+
push:
3+
branches: [release]
4+
pull_request:
5+
name: CI
6+
jobs:
7+
flatpak:
8+
name: "Flatpak"
9+
runs-on: ubuntu-latest
10+
container:
11+
image: bilelmoussaoui/flatpak-github-actions:freedesktop-21.08
12+
options: --privileged
13+
steps:
14+
- uses: actions/checkout@v2
15+
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4
16+
name: "Build"
17+
with:
18+
bundle: modbus-tcp-client-shm.flatpak
19+
manifest-path: network.koesling.modbus-tcp-client-shm
20+
cache-key: flatpak-builder-${{ github.sha }}

0 commit comments

Comments
 (0)