fix: devenv invocation in github action
This commit is contained in:
parent
71f258a4ea
commit
5596c0e90e
1 changed files with 3 additions and 3 deletions
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
|
@ -17,7 +17,7 @@ jobs:
|
|||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
- name: Generate changelog
|
||||
id: changelog
|
||||
shell: nix develop --no-pure-eval -c bash -- -e {0}
|
||||
shell: nix develop --impure -c bash -- -e {0}
|
||||
run: |
|
||||
git config --global user.email "actions@github.com"
|
||||
git config --global user.name "Github Actions"
|
||||
|
|
@ -38,7 +38,7 @@ jobs:
|
|||
echo "EOF" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Build binaries
|
||||
shell: nix develop --no-pure-eval -c bash -- -e {0}
|
||||
shell: nix develop --impure -c bash -- -e {0}
|
||||
run: |
|
||||
export CGO_ENABLED=0
|
||||
targets="linux/amd64 linux/arm64 darwin/amd64 darwin/arm64"
|
||||
|
|
@ -50,7 +50,7 @@ jobs:
|
|||
GOOS=$os GOARCH=$arch go build -o $output_name main.go
|
||||
done
|
||||
- name: Create Release
|
||||
shell: nix develop --no-pure-eval -c bash -- -e {0}
|
||||
shell: nix develop --impure -c bash -- -e {0}
|
||||
run: |
|
||||
version=$(svu current)
|
||||
gh release create $version \
|
||||
|
|
|
|||
Loading…
Reference in a new issue