Skip to content

Commit

Permalink
actions: update release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
yusufcanb committed Jun 12, 2023
1 parent 7ff2a24 commit 6706edf
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ jobs:
GOOS: linux
GOARCH: amd64
run: |
go build -o kubot-${{ github.ref_name }}-linux kubot.go
go build -o kubot-${{ github.ref_name }}-linux-amd64 kubot.go
- name: Build MacOS
env:
GOOS: darwin
GOARCH: amd64
run: |
go build -o kubot-${{ github.ref_name }} kubot.go
go build -o kubot-${{ github.ref_name }}-darwin-amd64 kubot.go
- name: Build Windows
env:
Expand All @@ -38,11 +38,10 @@ jobs:
run: |
go build -o kubot-${{ github.ref_name }}-win-amd64.exe kubot.go
- name: Release
uses: softprops/action-gh-release@v1
with:
body_path: ${{ github.workspace }}-CHANGELOG.txt
# note you'll typically need to create a personal access token
# with permissions to create releases in the other repo
files: kubot-*
files: kubot-*
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 6706edf

Please sign in to comment.