Skip to content

Commit

Permalink
fix: add run build to release workflow (#17)
Browse files Browse the repository at this point in the history
* fix: add build to release workflow

* fix: change build folder
  • Loading branch information
Loori-R authored Nov 11, 2022
1 parent a2cf538 commit 9c63ae5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,13 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Build Project
run: |
yarn install
npm run build
- name: Build ZIP
run: |
cp -r ./pkg ./${{ env.NAME }} && zip ${{ env.NAME }}-${{ env.TAG }}.zip ${{ env.NAME }} -r && rm -rf ${{ env.NAME }}
cp -r ./dist ./${{ env.NAME }} && zip ${{ env.NAME }}-${{ env.TAG }}.zip ${{ env.NAME }} -r && rm -rf ${{ env.NAME }}
sha1sum ./${{ env.NAME }}-${{ env.TAG }}.zip >${{ env.NAME }}-${{ env.TAG }}.zip.sha1
- name: Upload Release Asset
id: upload-release-asset
Expand Down

0 comments on commit 9c63ae5

Please sign in to comment.