Skip to content

Commit

Permalink
rm dist before build and fix tar
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKreil committed Jul 27, 2023
1 parent 674ea4d commit 19f4683
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ jobs:
run: "echo \"RELEASE_TAG=v$(jq -r '.version' package.json)\" >> $GITHUB_ENV"

- run: npm install


- run: rm -r dist
- run: npm run build

- name: tar
run: tar -cf styles.tar -C dist dist/*.json
run: tar -cf styles.tar -C dist .

- name: gzip
run: gzip -9 styles.tar
Expand Down

0 comments on commit 19f4683

Please sign in to comment.