Skip to content

Commit

Permalink
Update go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shortstack authored Jan 6, 2025
1 parent b3a912f commit 475ce27
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,17 @@ jobs:
with:
name: nims-webhook-${{ github.ref_name }}
path: ./nims-webhook-${{ github.ref_name }}

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
with:
tag_name: ${{ github.ref_name }}
release_name: Release ${{ github.ref_name }}
release_name: nims-webhook-${{ github.ref_name }}
body: |
This release includes the binary for nims-webhook version ${{ github.ref_name }}.
This release includes the binary for nims-webhook ${{ github.ref_name }}.
draft: false
prerelease: false

Expand All @@ -55,7 +56,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
with:
upload_url: ${{ steps.create-release.outputs.upload_url }}
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./nims-webhook-${{ github.ref_name }}
asset_name: nims-webhook-${{ github.ref_name }}
asset_content_type: application/octet-stream

0 comments on commit 475ce27

Please sign in to comment.