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

how to release everything in a folder

Open ghost opened this issue 1 year ago • 5 comments

I use the code:

on: push

jobs:
    build:
        runs-on: ubuntu-latest
        permissions:
            contents: write
        steps:
        - run: |
              version=22.3.0
              curl https://nodejs.org/dist/v$version/node-v$version.tar.gz | tar -xz
              cd node-v$version
              ./configure --partly-static --prefix out
              make -j2
              make install
              ls -al out
        - uses: softprops/action-gh-release@master
          with:
              token: ${{secrets.GITHUB_TOKEN}}
              tag_name: 1
              files: out/*

Now I want to release everything in out folder. But it seems to igonre all the folder in out? How to include everything?

ghost avatar Jun 15 '24 02:06 ghost

@fancy45daddy did u figure it out?

deniscerri avatar Dec 03 '24 21:12 deniscerri

Same issue

alphaleadership avatar May 15 '25 10:05 alphaleadership

similar issue here

ExXTreMe315 avatar Jul 16 '25 09:07 ExXTreMe315

similar issue here

Ahh nvm. After adding the * he added all files in the given folder. And as the option is called files: its just possible to add files.

So you need to create a zip or tar.gz first with the folder you wanted to upload. After that you should be able to add the compressed file.

ExXTreMe315 avatar Jul 16 '25 09:07 ExXTreMe315

even in subfolder

alphaleadership avatar Jul 16 '25 14:07 alphaleadership