action-gh-release
action-gh-release copied to clipboard
how to release everything in a folder
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?
@fancy45daddy did u figure it out?
Same issue
similar issue here
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.
even in subfolder