Skip to content

Commit

Permalink
Merge pull request #163 from blacknon/0.3.16
Browse files Browse the repository at this point in the history
update. Github Actions Update.
  • Loading branch information
blacknon authored Nov 9, 2024
2 parents 9ef1b54 + f8b7f74 commit 945aade
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,14 +236,19 @@ jobs:
with:
name: create-release

- id: upload-url
run: |
echo "$(cat create-release/release_upload_url.txt)" >> $GITHUB_OUTPUT
- uses: actions/download-artifact@v3
with:
name: build-${{ matrix.target }}

- uses: actions/upload-artifact@v4
- uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
path: ./build-${{ matrix.target }}/hwatch-${{ needs.create-release.outputs.version }}.${{ matrix.target }}.${{ matrix.ext }}
name: hwatch-${{ needs.create-release.outputs.version }}.${{ matrix.target }}.${{ matrix.ext }}
upload_url: ${{ steps.upload-url.outputs.url }}
asset_path: ./build-${{ matrix.target }}/hwatch-${{ needs.create-release.outputs.version }}.${{ matrix.target }}.${{ matrix.ext }}
asset_name: hwatch-${{ needs.create-release.outputs.version }}.${{ matrix.target }}.${{ matrix.ext }}
asset_content_type: application/octet-stream

0 comments on commit 945aade

Please sign in to comment.