Skip to content

Commit

Permalink
🐛 change the workflow to zip the root content of dist folder insted o…
Browse files Browse the repository at this point in the history
…f the hole folder
  • Loading branch information
mostafa-kheibary committed Apr 10, 2024
1 parent 1c6320d commit 38ade59
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: ⚙️ Setup node
uses: actions/setup-node@v3
with:
node-version: '20.x'
node-version: "20.x"

- name: 🔃 Checkout
uses: actions/checkout@v2
Expand All @@ -27,11 +27,11 @@ jobs:
uses: montudor/action-zip@v1

- name: Zip dist files 📦
run: zip -qq -r dist.zip dist
run: cd dist && zip -r ../dist.zip *

- name: Create release 📦
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: ${{ secrets.ChatGuard_PAT }}
prerelease: true
files: ./*.zip
files: ./*.zip

0 comments on commit 38ade59

Please sign in to comment.