diff --git a/.github/workflows/create_release_with_packages.yml b/.github/workflows/create_release_with_packages.yml index be50e07..eecff6b 100644 --- a/.github/workflows/create_release_with_packages.yml +++ b/.github/workflows/create_release_with_packages.yml @@ -9,7 +9,9 @@ jobs: create-curapackages: name: "New Release" runs-on: "ubuntu-latest" - + permissions: + contents: write + actions: write steps: - uses: actions/checkout@v4 with: @@ -31,6 +33,8 @@ jobs: RELEASE_VERSION: ${{ steps.vars.outputs.tag }} run: | cd build + files="$(find ../ -type f -name "*.curapackage" -printf "-a %p ")" + gh release upload $RELEASE_VERSION $files --clobber for f in $(find ../ -type f -name "*.curapackage"); do gh release upload $RELEASE_VERSION $f --clobber done \ No newline at end of file