Skip to content

Commit

Permalink
Update file name in github actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinmartian committed Dec 3, 2023
1 parent 0b36df3 commit dda8cb5
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/player.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,12 @@ jobs:
go-version: '1.21.3'

- name: Build
run: GOOS=linux GOARCH=arm GOARM=7 go build -o player -v ./...
run: GOOS=linux GOARCH=arm GOARM=7 go build -o go_player -v ./...
working-directory: ./player

# Leave 'player' binary as an artifact
- name: Archive artifact
uses: actions/upload-artifact@v3
with:
name: player
path: ./player/player

- name: Create Release
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v0.0.1')
run: |
# You can add any release creation commands here
# For example:
# Create a release draft
gh release create v0.0.1 ./player/player --title "Release v0.0.1" --notes "Release notes for v0.0.1"
# - name: Test
# run: go test -v ./...
name: go_player
path: ./player/go_player

0 comments on commit dda8cb5

Please sign in to comment.