softprops / action-gh-release

📦 :octocat: GitHub Action for creating GitHub Releases
MIT License
3.85k stars 434 forks source link

how to release everything in a folder #461

Open fancy45daddy opened 3 weeks ago

fancy45daddy commented 3 weeks ago

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?