diff --git a/.github/workflows/build_main.yml b/.github/workflows/build_main.yml index cf13d5d..348c782 100644 --- a/.github/workflows/build_main.yml +++ b/.github/workflows/build_main.yml @@ -46,3 +46,13 @@ jobs: Do not use it on production environment. draft: false prerelease: true + - 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 }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps + asset_path: ./brilliant.jar + asset_name: brilliant.jar + asset_content_type: application/java-archive