diff --git a/.github/workflows/fetch-release.yml b/.github/workflows/fetch-release.yml index 625205c..14d054f 100644 --- a/.github/workflows/fetch-release.yml +++ b/.github/workflows/fetch-release.yml @@ -62,10 +62,10 @@ jobs: prerelease: false - name: Upload assets to the new release - uses: actions/upload-release-asset@v1 + run: | + for file in artifacts/*; do + echo "Uploading $file..." + gh release upload ${{ env.tag_name }} "$file" --clobber + done env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: artifacts/* - asset_content_type: application/octet-stream \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file