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
|
nix_path: nixpkgs=channel:nixos-unstable
|
||||||
- name: Generate changelog
|
- name: Generate changelog
|
||||||
id: changelog
|
id: changelog
|
||||||
shell: nix develop --no-pure-eval -c bash -- -e {0}
|
shell: nix develop --impure -c bash -- -e {0}
|
||||||
run: |
|
run: |
|
||||||
git config --global user.email "actions@github.com"
|
git config --global user.email "actions@github.com"
|
||||||
git config --global user.name "Github Actions"
|
git config --global user.name "Github Actions"
|
||||||
|
|
@ -38,7 +38,7 @@ jobs:
|
||||||
echo "EOF" >> $GITHUB_OUTPUT
|
echo "EOF" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Build binaries
|
- name: Build binaries
|
||||||
shell: nix develop --no-pure-eval -c bash -- -e {0}
|
shell: nix develop --impure -c bash -- -e {0}
|
||||||
run: |
|
run: |
|
||||||
export CGO_ENABLED=0
|
export CGO_ENABLED=0
|
||||||
targets="linux/amd64 linux/arm64 darwin/amd64 darwin/arm64"
|
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
|
GOOS=$os GOARCH=$arch go build -o $output_name main.go
|
||||||
done
|
done
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
shell: nix develop --no-pure-eval -c bash -- -e {0}
|
shell: nix develop --impure -c bash -- -e {0}
|
||||||
run: |
|
run: |
|
||||||
version=$(svu current)
|
version=$(svu current)
|
||||||
gh release create $version \
|
gh release create $version \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue