Skip to content

Commit

Permalink
Revert "Produce Release Asset instead of Build Artifact"
Browse files Browse the repository at this point in the history
This reverts commit 593c1dc.
  • Loading branch information
sha224 committed Aug 21, 2020
1 parent 593c1dc commit 956e45e
Showing 1 changed file with 4 additions and 20 deletions.
24 changes: 4 additions & 20 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,24 +25,8 @@ jobs:
- name: Build
run: CGO_ENABLED=0 go build -ldflags "-s -w"

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false

- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./hello-web
asset_name: hello-web
asset_content_type: application/x-executable
name: hello-web
path: hello-web

0 comments on commit 956e45e

Please sign in to comment.