diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4db28f0..c079b19 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,12 +41,11 @@ jobs: env: GITHUB_TOKEN: ${{ github.token }} - - name: Upload Release Asset - uses: actions/upload-release-asset@v1 - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: SpotifyHonorific/bin/Release/SpotifyHonorific/latest.zip - asset_name: SpotifyHonorific.zip - asset_content_type: application/zip - env: - GITHUB_TOKEN: ${{ github.token }} \ No newline at end of file + - name: Upload Release Asset with curl + run: | + curl \ + -X POST \ + -H "Authorization: token ${{ gitea.token }}" \ + -H "Content-Type: application/zip" \ + --data-binary @SpotifyHonorific/bin/Release/SpotifyHonorific/latest.zip \ + "${{ steps.create_release.outputs.upload_url }}?name=latest.zip" \ No newline at end of file