Git Product home page Git Product logo

github-action-ghr's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

github-action-ghr's Issues

Upload a directory as one zip

I would like to upload the entire directory as one zip file. E.g. dist/package-a should be uploaded as package-a.zip, or perhaps another name I could set in the options.

Is that supported right now? Using the GHR_COMPRESS and GHR_PATH results in multiple uploads.

Draft releases

This action creates a release for a given tag, when it doesn’t exist. Would it possible to (have an option to) mark this release as a draft release, i.e. not public?

This is the result of what happens when clicking “Save draft” instead of “Publish Release” when editing a release manually. Other CI providers also provide this option, e.g. appveyor

[ERR] refs/heads/master is not a tag, exiting...

workflow:

name: test

on:
  watch:
    types: [started] # does this have something to do with it?

jobs:
  download:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
      with:
        ref: 'refs/tags/1.0' # Explicitly referencing a tag

    - name: tasks
      run: |
          echo ${{ github.ref }} > ref.txt
          cat ref.txt # outputs "refs/heads/master"

    - name: Release
      uses: fnkr/github-action-ghr@v1
#       if: startsWith(github.ref, 'refs/tags/') # if I uncomment this the step is skipped
      env:
        GHR_COMPRESS: zip
        GHR_PATH: ref.txt
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

@fnkr Please help. I'm new to github actions and don't know how checkout action works.

It is a private repo which I edit only using the Github's online editor. Do I have to create tags locally and then push?

Is this multiplatform?

Hello,

is this "action" multiplatform, so it would run on all platforms supported by GH Actions? (Ubuntu, OSX, Windows)

  • and if so, could you please add .zip as a compression method (for Windows, but common everywhere)?

Needs more options parameter.

The actual ghr provides -r parameter to provide name of repository make release to.
But this action seems to be using the current repository for which the action is running.

It would be great if you can provide configurable -r parameter also.

merge latest changes into the options branch?

I've been looking for a long time for a gh action that can update releases, wipe previous tags, and change release body&title... seems like yours is what I want, but it has the delete tag feature on main branch, and the other features I want on the options one...

thanks in advance

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.