File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 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
22
33on :
44 push :
5+ branches :
6+ - main
57 tags :
68 - " nix-tools-*"
9+ pull_request :
710
811env :
912 FLAKE_REF : github:${{ github.repository }}?ref=${{ github.head_ref || github.ref }}
1619 steps :
1720 - name : Checkout
1821 uses : actions/checkout@v4
19- with :
20- ref : ${{ github.ref_name }}
2122
2223 - name : Install Nix with good defaults
2324 uses : input-output-hk/install-nix-action@v20
5758 - name : " Compute nix-tools-static.nix"
5859 if : startsWith(github.ref, 'refs/tags/')
5960 run : |
61+ git fetch --all
62+ git switch --force static-nix-tools
6063 (
6164 echo "pkgs: let baseurl = \"https://github.com/input-output-hk/haskell.nix/releases/download/${GITHUB_REF_NAME}/\"; in {"
6265 for arch in aarch64-darwin x86_64-darwin aarch64-linux x86_64-linux; do
7679 run : |
7780 git add nix-tools-static.nix
7881 git commit -m "update nix-tools-static.nix"
79- git push
82+ git push origin static-nix-tools
8083
8184 - name : Release
8285 uses : input-output-hk/action-gh-release@v1
You can’t perform that action at this time.
0 commit comments