Skip to content

Commit

Permalink
update release script
Browse files Browse the repository at this point in the history
  • Loading branch information
Roaders committed Oct 28, 2021
1 parent 1d3a6fb commit 54e7510
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,4 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build-release
- name: Archive Release
uses: thedoctor0/zip-release@master
with:
type: 'zip'
filename: 'release.zip'
path: 'dist'
- name: Upload Release
uses: ncipollo/release-action@v1
with:
artifacts: "release.zip"
token: ${{ secrets.GITHUB_TOKEN }}

13 changes: 12 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,15 @@ jobs:
with:
node-version: '12.x'
- run: npm ci
- run: npm run build-release
- run: npm run build-release
- name: Archive Release
uses: thedoctor0/zip-release@master
with:
type: 'zip'
filename: 'release.zip'
path: 'dist'
- name: Upload Release
uses: ncipollo/release-action@v1
with:
artifacts: "release.zip"
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 54e7510

Please sign in to comment.