Skip to content

Commit 0f3a84b

Browse files
committed
Update nix-tools-static.nix in current branch
1 parent 06f23c8 commit 0f3a84b

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

.github/workflows/upload-artifacts.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,8 @@ name: Wait for Hydra Build
22

33
on:
44
push:
5-
branches:
6-
- main
75
tags:
8-
- "v*.*"
9-
pull_request:
6+
- "nix-tools-*"
107

118
env:
129
FLAKE_REF: github:${{ github.repository }}?ref=${{ github.head_ref || github.ref }}
@@ -55,11 +52,9 @@ jobs:
5552
git config --global user.name 'Auto Update Bot'
5653
git config --global user.email '[email protected]'
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

0 commit comments

Comments
 (0)