File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 1
- name : " Build and push binaries to cachix "
1
+ name : " Build and publish to Cachix and FlakeHub ❄️ "
2
2
on :
3
3
push :
4
4
branches :
5
5
- master
6
6
jobs :
7
7
build :
8
8
runs-on : ubuntu-latest
9
+ permissions :
10
+ id-token : write
11
+ contents : read
9
12
steps :
10
13
- name : Checkout repository
11
14
uses : actions/checkout@v4
12
15
- name : Install nix
13
16
uses : cachix/install-nix-action@v30
14
- - name : Setup cachix action
17
+ - name : Setup cachix
15
18
uses : cachix/cachix-action@v14
16
19
with :
17
20
authToken : ' ${{ secrets.CACHIX_AUTH_TOKEN }}'
20
23
run : nix flake check
21
24
- name : Nix flake develop
22
25
run : nix develop
26
+ - name : Publish to FlakeHub
27
+ uses : DeterminateSystems/flakehub-push@main
28
+ with :
29
+ name : DeterminateSystems/flakehub-push
30
+ rolling : true
31
+ visibility : public
You can’t perform that action at this time.
0 commit comments