Coder Social home page Coder Social logo

Comments (7)

JasonEtco avatar JasonEtco commented on June 15, 2024

Hello 👋 I'm not quite sure what you're asking. You should be able to drop this action in like any other. Maybe something like:

     - name: Build and publish (Bintray)
       env:
         bintrayUser: ${{ secrets.bintrayUsername }}
         bintrayApiKey: ${{ secrets.bintrayApiKey }}
       run: ./gradlew bintrayUpload
+    - name: Upload to release
+        uses: JasonEtco/upload-to-release@master
+        with:
+          args: <FILE>
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Hopefully that helps!

from upload-to-release.

Andre601 avatar Andre601 commented on June 15, 2024

Okay.
I'm not quite sure about one thing tho: Does the file name have to be a specific file name, or could it be like any filename available?
Because when I run my upload task is the file uploaded as four types of files:

  • javabotblockapi-{version}-javadoc.jar
  • javabotblockapi-{version}-sources.jar
  • javabotblockapi-{version}.jar
  • javabotblockapi-{version}.pom

Do I have to specify a specific file name, does it not matter, or could I use placeholders for things like the version, to have the file be like javabotblockapi-3.0.0,jar?

from upload-to-release.

Andre601 avatar Andre601 commented on June 15, 2024

bump

from upload-to-release.

JasonEtco avatar JasonEtco commented on June 15, 2024

Right now it has to be a specific file name - #7 was a step towards using globs instead. If you're up for a PR adding glob support that'd be great!

from upload-to-release.

Andre601 avatar Andre601 commented on June 15, 2024

I do not have any experience with making such PRs as it's not the kind of language I work with.

from upload-to-release.

JasonEtco avatar JasonEtco commented on June 15, 2024

Well now's as good a time as any to learn! ❤️ I'm happy to work with you in a PR. I'm not a bash expert myself either, so we'll be learning together.

from upload-to-release.

huzaifamk avatar huzaifamk commented on June 15, 2024

Hey guys any leads? I am looking for something similar, like I have to simply upload a file present in my Repo to GitHub releases, GitHub Actions Workflow is also set but don't know why it shows error :(

from upload-to-release.

Related Issues (13)

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.