Skip to content

Commit d35e490

Browse files
committed
Use custom nix ci
1 parent ea38aee commit d35e490

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed
Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
1+
name: "Build flatpak"
12
on:
2-
push:
3-
branches: [master]
43
pull_request:
5-
name: CI
4+
push:
65
jobs:
7-
flatpak-builder:
8-
name: "Flatpak Builder"
6+
tests:
97
runs-on: ubuntu-latest
10-
container:
11-
image: docker.io/bilelmoussaoui/flatpak-github-actions
12-
options: --privileged
138
steps:
14-
- uses: actions/checkout@v2
15-
- uses: bilelmoussaoui/flatpak-github-actions@v2
9+
- uses: actions/checkout@v2.4.0
10+
- uses: cachix/install-nix-action@v15
1611
with:
17-
bundle: "com.ranfdev.Geopard.Devel.flatpak"
18-
manifest-path: "build-aux/com.ranfdev.Geopard.Devel.json"
12+
extra_nix_config: |
13+
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
14+
- run: nix run .#build-flatpak build-flatpak build-aux/com.ranfdev.Geopard.Devel.json
15+

0 commit comments

Comments
 (0)