aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorAjay <[email protected]>2024-11-10 15:57:09 -0500
committerAjay <[email protected]>2024-11-10 15:57:09 -0500
commitfcc7ce8dfc6314d3a77aca3be6af60b4980679d0 (patch)
tree54736ec536a057d7c14f6d651e78797540e07602 /.github
parent9c4946a3fe470ac2d3b9b696cfc5c518feaa7172 (diff)
downloadSponsorBlock-fcc7ce8dfc6314d3a77aca3be6af60b4980679d0.tar.gz
SponsorBlock-fcc7ce8dfc6314d3a77aca3be6af60b4980679d0.zip
Change release build order
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release.yml63
1 files changed, 31 insertions, 32 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 54a0ddae..84839493 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -35,6 +35,19 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- run: npm ci
+
+ # Create Firefox artifacts
+ - name: Create Firefox artifacts
+ run: npm run build:firefox
+ - name: Zip Artifacts
+ run: cd ./dist ; zip -r ../builds/FirefoxExtension.zip *
+ - name: Upload FirefoxExtension to release
+ uses: Shopify/upload-to-release@07611424e04f1475ddf550e1c0dd650b867d5467
+ with:
+ args: builds/FirefoxExtension.zip
+ name: FirefoxExtension.zip
+ path: ./builds/FirefoxExtension.zip
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
# Create Chrome artifacts
- name: Create Chrome artifacts
@@ -50,33 +63,21 @@ jobs:
path: ./builds/ChromeExtension.zip
repo-token: ${{ secrets.GITHUB_TOKEN }}
- # Create Firefox artifacts
- - name: Create Firefox artifacts
- run: npm run build:firefox
- - name: Zip Artifacts
- run: cd ./dist ; zip -r ../builds/FirefoxExtension.zip *
- - name: Upload FirefoxExtension to release
- uses: Shopify/upload-to-release@07611424e04f1475ddf550e1c0dd650b867d5467
- with:
- args: builds/FirefoxExtension.zip
- name: FirefoxExtension.zip
- path: ./builds/FirefoxExtension.zip
- repo-token: ${{ secrets.GITHUB_TOKEN }}
-
- # Create Beta artifacts (Builds with the name changed to beta)
- - name: Create Chrome Beta artifacts
- run: npm run build:chrome -- --env stream=beta
+ # Create Edge artifacts
+ - name: Clear dist for Edge
+ run: rm -rf ./dist
+ - name: Create Edge artifacts
+ run: npm run build:edge
- name: Zip Artifacts
- run: cd ./dist ; zip -r ../builds/ChromeExtensionBeta.zip *
- - name: Upload ChromeExtensionBeta to release
+ run: cd ./dist ; zip -r ../builds/EdgeExtension.zip *
+ - name: Upload EdgeExtension to release
uses: Shopify/upload-to-release@07611424e04f1475ddf550e1c0dd650b867d5467
with:
- args: builds/ChromeExtensionBeta.zip
- name: ChromeExtensionBeta.zip
- path: ./builds/ChromeExtensionBeta.zip
+ args: builds/EdgeExtension.zip
+ name: EdgeExtension.zip
+ path: ./builds/EdgeExtension.zip
repo-token: ${{ secrets.GITHUB_TOKEN }}
-
# Create Safari artifacts
- name: Create Safari artifacts
run: npm run build:safari
@@ -90,19 +91,17 @@ jobs:
path: ./builds/SafariExtension.zip
repo-token: ${{ secrets.GITHUB_TOKEN }}
- # Create Edge artifacts
- - name: Clear dist for Edge
- run: rm -rf ./dist
- - name: Create Edge artifacts
- run: npm run build:edge
+ # Create Beta artifacts (Builds with the name changed to beta)
+ - name: Create Chrome Beta artifacts
+ run: npm run build:chrome -- --env stream=beta
- name: Zip Artifacts
- run: cd ./dist ; zip -r ../builds/EdgeExtension.zip *
- - name: Upload EdgeExtension to release
+ run: cd ./dist ; zip -r ../builds/ChromeExtensionBeta.zip *
+ - name: Upload ChromeExtensionBeta to release
uses: Shopify/upload-to-release@07611424e04f1475ddf550e1c0dd650b867d5467
with:
- args: builds/EdgeExtension.zip
- name: EdgeExtension.zip
- path: ./builds/EdgeExtension.zip
+ args: builds/ChromeExtensionBeta.zip
+ name: ChromeExtensionBeta.zip
+ path: ./builds/ChromeExtensionBeta.zip
repo-token: ${{ secrets.GITHUB_TOKEN }}
# Firefox Beta