Skip to content

Commit

Permalink
Merge pull request #18 from SerRichard/SerRichard-patch-2
Browse files Browse the repository at this point in the history
Update release.yml
  • Loading branch information
SerRichard authored Sep 3, 2024
2 parents 0ee90d0 + e2e1692 commit 5bfe2a2
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,12 @@ jobs:
- name: Build Binary
run: |
mkdir -p dist/
GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o dist/your-tool-${{ matrix.goos }}-${{ matrix.goarch }}-${{ env.TAG_NAME }} ./cli
GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o dist/proteus-${{ matrix.goos }}-${{ matrix.goarch }}-${{ env.TAG_NAME }} ./cli
- name: Compress Binary
if: matrix.goos != 'windows'
run: gzip dist/your-tool-${{ matrix.goos }}-${{ matrix.goarch }}-${{ env.TAG_NAME }}

- name: List files in dist with absolute path
run: ls dist/

- name: Upload Release Asset
uses: actions/upload-artifact@v3
with:
Expand All @@ -66,6 +63,6 @@ jobs:
id: create_release
uses: softprops/action-gh-release@v1
with:
files: dist/proteus-darwin-amd64 dist/proteus-linux-amd64 dist/proteus-windows-amd64
files: dist/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 5bfe2a2

Please sign in to comment.