File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,11 @@ name: Wait for Hydra Build
2
2
3
3
on :
4
4
push :
5
+ branches :
6
+ - main
5
7
tags :
6
8
- " nix-tools-*"
9
+ pull_request :
7
10
8
11
env :
9
12
FLAKE_REF : github:${{ github.repository }}?ref=${{ github.head_ref || github.ref }}
16
19
steps :
17
20
- name : Checkout
18
21
uses : actions/checkout@v4
19
- with :
20
- ref : ${{ github.ref_name }}
21
22
22
23
- name : Install Nix with good defaults
23
24
uses : input-output-hk/install-nix-action@v20
57
58
- name : " Compute nix-tools-static.nix"
58
59
if : startsWith(github.ref, 'refs/tags/')
59
60
run : |
61
+ git fetch --all
62
+ git switch --force static-nix-tools
60
63
(
61
64
echo "pkgs: let baseurl = \"https://github.com/input-output-hk/haskell.nix/releases/download/${GITHUB_REF_NAME}/\"; in {"
62
65
for arch in aarch64-darwin x86_64-darwin aarch64-linux x86_64-linux; do
76
79
run : |
77
80
git add nix-tools-static.nix
78
81
git commit -m "update nix-tools-static.nix"
79
- git push
82
+ git push origin static-nix-tools
80
83
81
84
- name : Release
82
85
uses : input-output-hk/action-gh-release@v1
You can’t perform that action at this time.
0 commit comments