Skip to content

Commit b6b5ac0

Browse files
committed
Update the upstream Nix version on release proposal
1 parent a1d3b63 commit b6b5ac0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/propose-release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
determinate-nix-version:
1111
type: string
1212
required: true
13+
upstream-nix-version:
14+
type: string
15+
required: true
1316

1417
concurrency:
1518
group: ${{ github.workflow }}
@@ -36,5 +39,6 @@ jobs:
3639
git commit -m "Update test fixtures with the new nix-installer version" || true
3740
3841
sed -i 's#https://flakehub.com/f/DeterminateSystems/nix-src/=.*";#https://flakehub.com/f/DeterminateSystems/nix-src/=${{ inputs.determinate-nix-version }}";#' ./flake.nix
42+
sed -i 's#https://releases.nixos.org/nix/nix-.*/nix-.*-";#https://releases.nixos.org/nix/nix-${{ inputs.upstream-nix-version }}/nix-${{ inputs.upstream-nix-version }}-";#' ./flake.nix
3943
git add flake.nix
4044
git commit -m "Update Determinate Nix release to ${{ inputs.determinate-nix-version }}" || true

0 commit comments

Comments
 (0)