GithubHelp home page GithubHelp logo

Comments (3)

stm2 avatar stm2 commented on June 12, 2024

This has just come up for me too. It was working fine 5 days ago. Was there a change in the github API?

from github-release.

ReenigneArcher avatar ReenigneArcher commented on June 12, 2024

This has just come up for me too. It was working fine 5 days ago. Was there a change in the github API?

Not sure if there was a change in the API or not, but I guess that's probably the cause. It appears this action has some logic in it which is supposed to delete an asset if it already exists (

# If a list of previously uploaded assets is available, and contains
). I have tried several other release actions, and they all seem to suffer from the same issue when the asset already exists. One of the repos seems to work when there's a single file uploaded, but not when several are.

There is an update asset section in the github api (https://docs.github.com/en/rest/reference/repos#update-a-release-asset) but not in github CLI (https://docs.github.com/en/repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release) unless you use the gh api command (https://cli.github.com/manual/gh_api).

Probably going to make an attempt at creating a release with a python script (not good enough with bash to be honest)

from github-release.

ReenigneArcher avatar ReenigneArcher commented on June 12, 2024

Don't know if this is resolved, but closing since I now use: https://github.com/ncipollo/release-action

from github-release.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.