Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLee18 authored Sep 16, 2024
1 parent 4a418fc commit 8c0b217
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,19 @@ jobs:
bin_name="$binary_name-${{ env.VERSION }}-${{ matrix.target }}"
mv "target/${{ matrix.target }}/release/$binary_name" "$bin_name"
echo "ASSET=$bin_name" >> $GITHUB_ENV
- name: Create a GitHub release
uses: ncipollo/release-action@v1
- name: Release
uses: softprops/action-gh-release@v1
with:
artifacts: |
${{ env.ASSET }}
tag: ${{ steps.tag_version.outputs.new_tag }}
name: Release ${{ steps.tag_version.outputs.new_tag }}
body: ${{ steps.tag_version.outputs.changelog }}
tag_name: ${{ steps.tag_version.outputs.new_tag }}
files: |
${{ env.ASSET }}
# - name: Create a GitHub release
# uses: ncipollo/release-action@v1
# with:
# artifacts: |
# ${{ env.ASSET }}
# tag: ${{ steps.tag_version.outputs.new_tag }}
# name: Release ${{ steps.tag_version.outputs.new_tag }}
# body: ${{ steps.tag_version.outputs.changelog }}

0 comments on commit 8c0b217

Please sign in to comment.