Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lmangani authored Nov 13, 2023
1 parent f270fd0 commit 4a6bd4e
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
npm run build
- uses: actions/upload-artifact@v3
if: github.event_name != 'pull_request'
with:
name: dist
path: ./dist
Expand All @@ -36,14 +37,19 @@ jobs:
publish:
needs: build
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
steps:
- name: Checkout Packaging repository
uses: actions/checkout@v3
- uses: actions/download-artifact@master
with:
name: dist
- name: Checkpoint
run: |
ls -alFh
ls -alFh dist
ls -alFh webshark
sudo zip -r ./latest.zip ./webshark
- name: Upload Release
uses: softprops/action-gh-release@v0.1.15
# if: startsWith(github.ref, 'refs/tags/')
with:
files: |
latest.zip

0 comments on commit 4a6bd4e

Please sign in to comment.