diff --git a/.github/workflows/fyshls.yml b/.github/workflows/fyshls.yml index 39c04e0..3093cc5 100644 --- a/.github/workflows/fyshls.yml +++ b/.github/workflows/fyshls.yml @@ -30,8 +30,10 @@ jobs: - name: Upload Release Asset uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - upload_url: ${{ github.server_url }}/${{ github.repository }}/releases/tag/${{ github.ref_name }} + upload_url: ${{ github.api_url }}/${{ github.repository }}/releases/tag/${{ github.ref_name }} asset_path: fyshls asset_name: fyshls-${{ matrix.os }} asset_content_type: application/octet-stream