Skip to content

Commit

Permalink
another ci fix
Browse files Browse the repository at this point in the history
  • Loading branch information
coalaura committed Nov 1, 2024
1 parent 924bd58 commit bcd8a31
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 @@ -29,13 +29,13 @@ jobs:
- name: Build for ${{ matrix.goos }}_${{ matrix.goarch }}
run: |
if [ "${{ matrix.goos }}" = "windows" ]; then EXT=".exe"; else EXT=""; fi
GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -ldflags="-s -w" -trimpath -o build/sudo_${{ github.ref_name }}_${{ matrix.goos }}_${{ matrix.goarch }}$EXT
GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -ldflags="-s -w" -trimpath -o build/sudo_${{ github.ref_name }}_${{ matrix.goarch }}$EXT
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: sudo_${{ github.ref_name }}_${{ matrix.goos }}_${{ matrix.goarch }}
path: ./build/sudo_${{ github.ref_name }}_${{ matrix.goos }}_${{ matrix.goarch }}*
name: sudo_${{ github.ref_name }}_${{ matrix.goarch }}
path: ./build/sudo_${{ github.ref_name }}_${{ matrix.goarch }}*

release:
needs: build
Expand Down

0 comments on commit bcd8a31

Please sign in to comment.