Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Commit

Permalink
fix ci zip
Browse files Browse the repository at this point in the history
  • Loading branch information
theowenyoung committed Nov 7, 2022
1 parent eb5bdcd commit f429503
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,8 @@ jobs:
run: npm run build
- name: Add Version to folders
run: |
mv dist/chrome dist/chrome-${{ env.NOW }}
mv dist/firefox dist/firefox-${{ env.NOW }}
- name: zip release assets
run: |
pushd dist
zip -r chrome-${{ env.NOW }}.zip chrome-${{ env.NOW }}
zip -r firefox-${{ env.NOW }}.zip firefox-${{ env.NOW }}
popd
mv dist/chrome.zip dist/chrome-${{ env.NOW }}.zip
mv dist/firefox.zip dist/firefox-${{ env.NOW }}.zip
- name: release assets
uses: "marvinpinto/action-automatic-releases@v1.2.1"
with:
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,8 @@ jobs:
run: npm run build
- name: Add Version to folders
run: |
mv dist/chrome dist/chrome-${{ github.ref_name }}
mv dist/firefox dist/firefox-${{ github.ref_name }}
- name: zip release assets
run: |
pushd dist
zip -r chrome-${{ github.ref_name }}.zip chrome-${{ github.ref_name }}
zip -r firefox-${{ github.ref_name }}.zip firefox-${{ github.ref_name }}
popd
mv dist/chrome.zip dist/chrome-${{ github.ref_name }}.zip
mv dist/firefox.zip dist/firefox-${{ github.ref_name }}.zip
- name: release assets
uses: "marvinpinto/action-automatic-releases@v1.2.1"
with:
Expand Down

0 comments on commit f429503

Please sign in to comment.