Skip to content

Commit

Permalink
windows STILL wont use env
Browse files Browse the repository at this point in the history
  • Loading branch information
sermuns committed Jan 19, 2025
1 parent a89b5af commit 74c01c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,18 @@ jobs:
go-version: 'stable'

- name: Build
run: go build -ldflags "-s -w" -o dist/${REPO_NAME}-${{ matrix.target }}
run: go build -ldflags "-s -w" -o build/${{ env.REPO_NAME }}-${{ matrix.target }}

- name: Post Setup | Strip binaries (-nix)
if: matrix.os != 'windows-latest'
run: |
strip dist/${REPO_NAME}-${{ matrix.target }}${{ matrix.ext }}
strip build/${REPO_NAME}-${{ matrix.target }}${{ matrix.ext }}
- name: Post Setup | Upload artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ env.REPO_NAME }}-${{ matrix.target }}
path: dist/*
path: build/*

github_release:
name: Create GitHub Release
Expand Down

0 comments on commit 74c01c4

Please sign in to comment.