fix: devenv invocation in github action

This commit is contained in:
Adriano Caloiaroooo 2025-11-28 21:24:39 -08:00
parent 71f258a4ea
commit 5596c0e90e
No known key found for this signature in database

View file

@ -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 \