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
22
33on :
44 push :
5- branches :
6- - main
75 tags :
8- - " v*.*"
9- pull_request :
6+ - " nix-tools-*"
107
118env :
129 FLAKE_REF : github:${{ github.repository }}?ref=${{ github.head_ref || github.ref }}
5552 git config --global user.name 'Auto Update Bot'
5653 git config --global user.email 'no-reply@iohk.io'
5754
58- - name : " Compute default .nix"
55+ - name : " Compute nix-tools-static .nix"
5956 if : startsWith(github.ref, 'refs/tags/')
6057 run : |
61- git fetch --all
62- git switch --force nix
6358 (
6459 echo "pkgs: let baseurl = \"https://github.com/input-output-hk/haskell.nix/releases/download/${GITHUB_REF_NAME}/\"; in {"
6560 for arch in aarch64-darwin x86_64-darwin aarch64-linux x86_64-linux; do
@@ -70,16 +65,16 @@ jobs:
7065 echo " };"
7166 done
7267 echo "}"
73- ) > default .nix
74- cat default .nix
68+ ) > nix-tools-static .nix
69+ cat nix-tools-static .nix
7570
7671
7772 - name : Push to nix branch
7873 if : startsWith(github.ref, 'refs/tags/')
7974 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
8378
8479 - name : Release
8580 uses : input-output-hk/action-gh-release@v1
You can’t perform that action at this time.
0 commit comments