From 15e7cf4c73be792cf08b92e6266c8630d9847afb Mon Sep 17 00:00:00 2001 From: Ben Donnelly Date: Wed, 6 Sep 2023 16:25:59 +0100 Subject: [PATCH] Update on_release.yml --- .github/workflows/on_release.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/on_release.yml b/.github/workflows/on_release.yml index 7e11e59..0da1d5d 100644 --- a/.github/workflows/on_release.yml +++ b/.github/workflows/on_release.yml @@ -64,8 +64,11 @@ jobs: - name: Zip Site run: tar -czf site.tar.gz target/staging - - name: Upload artifact - uses: actions/upload-artifact@v3 + - uses: actions/upload-release-asset@v1.0.2 + env: + GITHUB_TOKEN: ${{ github.token }} with: + upload_url: ${{ steps.get_release.outputs.upload_url }} + asset_content_type: application/octet-stream name: Maven Site - path: site.tar.gz \ No newline at end of file + asset_path: site.tar.gz