mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-16 16:37:18 +03:00
Changed where cd is used in release workflow
This commit is contained in:
25
.github/workflows/release.yml
vendored
25
.github/workflows/release.yml
vendored
@@ -18,9 +18,6 @@ jobs:
|
|||||||
- name: Copy configuration
|
- name: Copy configuration
|
||||||
run: cp config.json.example config.json
|
run: cp config.json.example config.json
|
||||||
|
|
||||||
- name: Install Zip
|
|
||||||
run: sudo apt-get install zip
|
|
||||||
|
|
||||||
# Create Chrome artifacts
|
# Create Chrome artifacts
|
||||||
- name: Create Chrome artifacts
|
- name: Create Chrome artifacts
|
||||||
run: npm run build:chrome
|
run: npm run build:chrome
|
||||||
@@ -30,9 +27,7 @@ jobs:
|
|||||||
path: dist
|
path: dist
|
||||||
- run: mkdir ./builds
|
- run: mkdir ./builds
|
||||||
- name: Zip Artifacts
|
- name: Zip Artifacts
|
||||||
run: cd ./dist
|
run: cd ./dist ; zip -r ../builds/ChromeExtension.zip *
|
||||||
- run: zip -r ../builds/ChromeExtension.zip *
|
|
||||||
- run: cd ../
|
|
||||||
|
|
||||||
# Create Firefox artifacts
|
# Create Firefox artifacts
|
||||||
- name: Create Firefox artifacts
|
- name: Create Firefox artifacts
|
||||||
@@ -42,11 +37,7 @@ jobs:
|
|||||||
name: FirefoxExtension
|
name: FirefoxExtension
|
||||||
path: dist
|
path: dist
|
||||||
- name: Zip Artifacts
|
- name: Zip Artifacts
|
||||||
run: cd ./dist
|
run: cd ./dist ; zip -r ../builds/FirefoxExtension.zip *
|
||||||
- uses: montudor/action-zip@v0.1.0
|
|
||||||
with:
|
|
||||||
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
|
||||||
@@ -56,9 +47,7 @@ jobs:
|
|||||||
name: ChromeExtensionBeta
|
name: ChromeExtensionBeta
|
||||||
path: dist
|
path: dist
|
||||||
- name: Zip Artifacts
|
- name: Zip Artifacts
|
||||||
run: cd ./dist
|
run: cd ./dist ; zip -r ../builds/ChromeExtensionBeta.zip *
|
||||||
- run: 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
|
||||||
@@ -67,9 +56,7 @@ jobs:
|
|||||||
name: FirefoxExtensionBeta
|
name: FirefoxExtensionBeta
|
||||||
path: dist
|
path: dist
|
||||||
- name: Zip Artifacts
|
- name: Zip Artifacts
|
||||||
run: cd ./dist
|
run: cd ./dist ; zip -r ../builds/FirefoxExtensionBeta.zip *
|
||||||
- run: 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
|
||||||
@@ -80,9 +67,7 @@ jobs:
|
|||||||
- name: Install rename
|
- name: Install rename
|
||||||
run: sudo apt-get install rename
|
run: sudo apt-get install rename
|
||||||
- name: Install signed file
|
- name: Install signed file
|
||||||
run: cd ./web-ext-artifacts
|
run: cd ./web-ext-artifacts ; rename 's/.*/FirefoxSignedInstaller.xpi/' *
|
||||||
- run: rename 's/.*/FirefoxSignedInstaller.xpi/' *
|
|
||||||
- run: cd ..
|
|
||||||
- uses: actions/upload-artifact@v1
|
- uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: FirefoxExtensionSigned.xpi
|
name: FirefoxExtensionSigned.xpi
|
||||||
|
|||||||
Reference in New Issue
Block a user