diff options
author | Ajay Ramachandran <[email protected]> | 2020-05-15 21:08:52 -0400 |
---|---|---|
committer | Ajay Ramachandran <[email protected]> | 2020-05-15 21:08:52 -0400 |
commit | 2fb97409a128703594bcabe038334532e47dbed0 (patch) | |
tree | 0aabfaaf48810ddf64497ce7089abf60027c72e3 /.github | |
parent | 1ab1f33cafaf5169682f1053cff07447e1ddca6a (diff) | |
download | SponsorBlock-2fb97409a128703594bcabe038334532e47dbed0.tar.gz SponsorBlock-2fb97409a128703594bcabe038334532e47dbed0.zip |
Changed where cd is used in release workflow
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/release.yml | 25 |
1 files changed, 5 insertions, 20 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e902a81d..50ec9d43 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,9 +18,6 @@ jobs: - name: Copy configuration run: cp config.json.example config.json - - name: Install Zip - run: sudo apt-get install zip - # Create Chrome artifacts - name: Create Chrome artifacts run: npm run build:chrome @@ -30,9 +27,7 @@ jobs: path: dist - run: mkdir ./builds - name: Zip Artifacts - run: cd ./dist - - run: zip -r ../builds/ChromeExtension.zip * - - run: cd ../ + run: cd ./dist ; zip -r ../builds/ChromeExtension.zip * # Create Firefox artifacts - name: Create Firefox artifacts @@ -42,11 +37,7 @@ jobs: name: FirefoxExtension path: dist - name: Zip Artifacts - run: cd ./dist - - uses: montudor/[email protected] - with: - args: zip -r ../builds/FirefoxExtension.zip * - - run: cd ../ + run: cd ./dist ; zip -r ../builds/FirefoxExtension.zip * # Create Beta artifacts (Builds with the name changed to beta) - name: Create Chrome Beta artifacts @@ -56,9 +47,7 @@ jobs: name: ChromeExtensionBeta path: dist - name: Zip Artifacts - run: cd ./dist - - run: zip -r ../builds/ChromeExtensionBeta.zip * - - run: cd ../ + run: cd ./dist ; zip -r ../builds/ChromeExtensionBeta.zip * - name: Create Firefox Beta artifacts run: npm run build:firefox -- --env.stream=beta @@ -67,9 +56,7 @@ jobs: name: FirefoxExtensionBeta path: dist - name: Zip Artifacts - run: cd ./dist - - run: zip -r ../builds/FirefoxExtensionBeta.zip * - - run: cd ../ + run: cd ./dist ; zip -r ../builds/FirefoxExtensionBeta.zip * # Create Firefox Signed Beta version - name: Create Firefox Signed Beta artifacts @@ -80,9 +67,7 @@ jobs: - name: Install rename run: sudo apt-get install rename - name: Install signed file - run: cd ./web-ext-artifacts - - run: rename 's/.*/FirefoxSignedInstaller.xpi/' * - - run: cd .. + run: cd ./web-ext-artifacts ; rename 's/.*/FirefoxSignedInstaller.xpi/' * - uses: actions/upload-artifact@v1 with: name: FirefoxExtensionSigned.xpi |