From f05eba176f8acdc759165d87df8cb7f702d15361 Mon Sep 17 00:00:00 2001 From: Max Chodorowski Date: Sun, 26 Dec 2021 13:39:52 +0000 Subject: [PATCH] Upload all files from dist --- .github/workflows/release-drafter.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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/*