action-gh-release icon indicating copy to clipboard operation
action-gh-release copied to clipboard

GitHub release failed with status: 404 undefined

Open skirpichev opened this issue 3 years ago • 4 comments

See the build log. No workflow changes since last release v0.13.0:

    - name: Publish on Github Releases
      uses: softprops/action-gh-release@v1
      if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') && matrix.coverage
      env:
        GITHUB_TOKEN: ${{ secrets.RELEASES_DEPLOY_KEY }}
      with:
        files: |
          dist/*
          build/sphinx/latex/Diofant-*.pdf
        draft: true
        prerelease: true
        name: "Diofant ${{ steps.release.outputs.version }}"
        body: "See [release notes](https://diofant.readthedocs.io/\
               en/latest/release/notes-${{ steps.release.outputs.short_version }}.html)."

Same for the currect git version (fe9a9bd3).

skirpichev avatar Mar 03 '22 06:03 skirpichev

Have you checked is not related with the permissions of the workflow? https://github.com/softprops/action-gh-release#permissions

njimenezotto avatar Mar 16 '22 12:03 njimenezotto

I hope so, there are remnants of such check in the workflow file.

skirpichev avatar Mar 16 '22 12:03 skirpichev

Hmm, that was related with the selected scopes of the used personal token. I'll leave this open, perhaps that should be documented.

skirpichev avatar Mar 30 '22 04:03 skirpichev

Did somebody got the solution for this. I have stumbled upon exactly the same error.

asaurabhW avatar Mar 09 '23 20:03 asaurabhW