mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-30 19:38:34 +03:00
Fixed zipping command in release workflow
This commit is contained in:
20
.github/workflows/release.yml
vendored
20
.github/workflows/release.yml
vendored
@@ -26,9 +26,12 @@ jobs:
|
|||||||
name: ChromeExtension
|
name: ChromeExtension
|
||||||
path: dist
|
path: dist
|
||||||
- run: mkdir ./builds
|
- run: mkdir ./builds
|
||||||
|
- name: Zip Artifacts
|
||||||
|
run: cd ./dist
|
||||||
- uses: montudor/action-zip@v0.1.0
|
- uses: montudor/action-zip@v0.1.0
|
||||||
with:
|
with:
|
||||||
args: zip -qq -r ./builds/ChromeExtension.zip ./dist/*
|
args: zip -r ../builds/ChromeExtension.zip *
|
||||||
|
- run: cd ../
|
||||||
|
|
||||||
# Create Firefox artifacts
|
# Create Firefox artifacts
|
||||||
- name: Create Firefox artifacts
|
- name: Create Firefox artifacts
|
||||||
@@ -37,9 +40,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: FirefoxExtension
|
name: FirefoxExtension
|
||||||
path: dist
|
path: dist
|
||||||
|
- name: Zip Artifacts
|
||||||
|
run: cd ./dist
|
||||||
- uses: montudor/action-zip@v0.1.0
|
- uses: montudor/action-zip@v0.1.0
|
||||||
with:
|
with:
|
||||||
args: zip -qq -r ./builds/FirefoxExtension.zip ./dist/*
|
args: zip -r ../builds/FirefoxExtension.zip *
|
||||||
|
- run: cd ../
|
||||||
|
|
||||||
# Create Beta artifacts (Builds with the name changed to beta)
|
# Create Beta artifacts (Builds with the name changed to beta)
|
||||||
- name: Create Chrome Beta artifacts
|
- name: Create Chrome Beta artifacts
|
||||||
@@ -48,9 +54,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: ChromeExtensionBeta
|
name: ChromeExtensionBeta
|
||||||
path: dist
|
path: dist
|
||||||
|
- name: Zip Artifacts
|
||||||
|
run: cd ./dist
|
||||||
- uses: montudor/action-zip@v0.1.0
|
- uses: montudor/action-zip@v0.1.0
|
||||||
with:
|
with:
|
||||||
args: zip -qq -r ./builds/ChromeExtensionBeta.zip ./dist/*
|
args: zip -r ../builds/ChromeExtensionBeta.zip *
|
||||||
|
- run: cd ../
|
||||||
|
|
||||||
- name: Create Firefox Beta artifacts
|
- name: Create Firefox Beta artifacts
|
||||||
run: npm run build:firefox -- --env.stream=beta
|
run: npm run build:firefox -- --env.stream=beta
|
||||||
@@ -58,9 +67,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: FirefoxExtensionBeta
|
name: FirefoxExtensionBeta
|
||||||
path: dist
|
path: dist
|
||||||
|
- name: Zip Artifacts
|
||||||
|
run: cd ./dist
|
||||||
- uses: montudor/action-zip@v0.1.0
|
- uses: montudor/action-zip@v0.1.0
|
||||||
with:
|
with:
|
||||||
args: zip -qq -r ./builds/FirefoxExtensionBeta.zip ./dist/*
|
args: zip -r ../builds/FirefoxExtensionBeta.zip *
|
||||||
|
- run: cd ../
|
||||||
|
|
||||||
# Create Firefox Signed Beta version
|
# Create Firefox Signed Beta version
|
||||||
- name: Create Firefox Signed Beta artifacts
|
- name: Create Firefox Signed Beta artifacts
|
||||||
|
|||||||
Reference in New Issue
Block a user