Skip to content

Commit

Permalink
actions
Browse files Browse the repository at this point in the history
  • Loading branch information
newpanjing committed Apr 19, 2022
1 parent 10a174c commit dd8c5f5
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,9 @@ jobs:
run: GOOS=darwin GOARCH=amd64 go build -o ./dist/macos_amd64

- name: Create GitHub release
uses: marvinpinto/action-automatic-releases@latest
uses: actions/upload-release-asset@v1
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: ${{ env.ReleaseVersion }}
title: ${{ env.ReleaseVersion }}
prerelease: false
files: |
artifacts/packages/*
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./dist/macos_amd64
asset_name: macos_amd64
asset_content_type: application/gzip

0 comments on commit dd8c5f5

Please sign in to comment.