File tree Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,8 @@ name: Wait for Hydra Build
2
2
3
3
on :
4
4
push :
5
- branches :
6
- - main
7
5
tags :
8
- - " v*.*"
9
- pull_request :
6
+ - " nix-tools-*"
10
7
11
8
env :
12
9
FLAKE_REF : github:${{ github.repository }}?ref=${{ github.head_ref || github.ref }}
55
52
git config --global user.name 'Auto Update Bot'
56
53
git config --global user.email '[email protected] '
57
54
58
- - name : " Compute default .nix"
55
+ - name : " Compute nix-tools-static .nix"
59
56
if : startsWith(github.ref, 'refs/tags/')
60
57
run : |
61
- git fetch --all
62
- git switch --force nix
63
58
(
64
59
echo "pkgs: let baseurl = \"https://github.com/input-output-hk/haskell.nix/releases/download/${GITHUB_REF_NAME}/\"; in {"
65
60
for arch in aarch64-darwin x86_64-darwin aarch64-linux x86_64-linux; do
@@ -70,16 +65,16 @@ jobs:
70
65
echo " };"
71
66
done
72
67
echo "}"
73
- ) > default .nix
74
- cat default .nix
68
+ ) > nix-tools-static .nix
69
+ cat nix-tools-static .nix
75
70
76
71
77
72
- name : Push to nix branch
78
73
if : startsWith(github.ref, 'refs/tags/')
79
74
run : |
80
- git add default .nix
81
- git commit -m "update default .nix"
82
- git push origin nix
75
+ git add nix-tools-static .nix
76
+ git commit -m "update nix-tools-static .nix"
77
+ git push
83
78
84
79
- name : Release
85
80
uses : input-output-hk/action-gh-release@v1
You can’t perform that action at this time.
0 commit comments