diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 901906e..14d8aa1 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -40,12 +40,12 @@ jobs: disable-autolabeler: true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - + # upload release assets - name: Upload release assets run: | - gh release upload --clobber ${{ env.VERSION }} ${{ env.FILES }} + find ./dist -type f -exec gh release upload --clobber ${{ env.VERSION }} {} + env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} VERSION: ${{ steps.create_release.outputs.tag_name }} - FILES: ./dist/sonj-review.js ./dist/sonj-review.min.js ./dist/sonj-review.js.map ./dist/sonj-review.min.js.map ./src/sonj-review.d.ts + FILES: ./dist/*