mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-11 05:57:07 +03:00
Change release build order
This commit is contained in:
63
.github/workflows/release.yml
vendored
63
.github/workflows/release.yml
vendored
@@ -35,6 +35,19 @@ jobs:
|
|||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- run: npm ci
|
- 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
|
# Create Chrome artifacts
|
||||||
- name: Create Chrome artifacts
|
- name: Create Chrome artifacts
|
||||||
@@ -50,33 +63,21 @@ jobs:
|
|||||||
path: ./builds/ChromeExtension.zip
|
path: ./builds/ChromeExtension.zip
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
# Create Firefox artifacts
|
# Create Edge artifacts
|
||||||
- name: Create Firefox artifacts
|
- name: Clear dist for Edge
|
||||||
run: npm run build:firefox
|
run: rm -rf ./dist
|
||||||
|
- name: Create Edge artifacts
|
||||||
|
run: npm run build:edge
|
||||||
- name: Zip Artifacts
|
- name: Zip Artifacts
|
||||||
run: cd ./dist ; zip -r ../builds/FirefoxExtension.zip *
|
run: cd ./dist ; zip -r ../builds/EdgeExtension.zip *
|
||||||
- name: Upload FirefoxExtension to release
|
- name: Upload EdgeExtension to release
|
||||||
uses: Shopify/upload-to-release@07611424e04f1475ddf550e1c0dd650b867d5467
|
uses: Shopify/upload-to-release@07611424e04f1475ddf550e1c0dd650b867d5467
|
||||||
with:
|
with:
|
||||||
args: builds/FirefoxExtension.zip
|
args: builds/EdgeExtension.zip
|
||||||
name: FirefoxExtension.zip
|
name: EdgeExtension.zip
|
||||||
path: ./builds/FirefoxExtension.zip
|
path: ./builds/EdgeExtension.zip
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
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
|
|
||||||
- name: Zip Artifacts
|
|
||||||
run: cd ./dist ; zip -r ../builds/ChromeExtensionBeta.zip *
|
|
||||||
- name: Upload ChromeExtensionBeta to release
|
|
||||||
uses: Shopify/upload-to-release@07611424e04f1475ddf550e1c0dd650b867d5467
|
|
||||||
with:
|
|
||||||
args: builds/ChromeExtensionBeta.zip
|
|
||||||
name: ChromeExtensionBeta.zip
|
|
||||||
path: ./builds/ChromeExtensionBeta.zip
|
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
|
|
||||||
# Create Safari artifacts
|
# Create Safari artifacts
|
||||||
- name: Create Safari artifacts
|
- name: Create Safari artifacts
|
||||||
run: npm run build:safari
|
run: npm run build:safari
|
||||||
@@ -90,19 +91,17 @@ jobs:
|
|||||||
path: ./builds/SafariExtension.zip
|
path: ./builds/SafariExtension.zip
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
# Create Edge artifacts
|
# Create Beta artifacts (Builds with the name changed to beta)
|
||||||
- name: Clear dist for Edge
|
- name: Create Chrome Beta artifacts
|
||||||
run: rm -rf ./dist
|
run: npm run build:chrome -- --env stream=beta
|
||||||
- name: Create Edge artifacts
|
|
||||||
run: npm run build:edge
|
|
||||||
- name: Zip Artifacts
|
- name: Zip Artifacts
|
||||||
run: cd ./dist ; zip -r ../builds/EdgeExtension.zip *
|
run: cd ./dist ; zip -r ../builds/ChromeExtensionBeta.zip *
|
||||||
- name: Upload EdgeExtension to release
|
- name: Upload ChromeExtensionBeta to release
|
||||||
uses: Shopify/upload-to-release@07611424e04f1475ddf550e1c0dd650b867d5467
|
uses: Shopify/upload-to-release@07611424e04f1475ddf550e1c0dd650b867d5467
|
||||||
with:
|
with:
|
||||||
args: builds/EdgeExtension.zip
|
args: builds/ChromeExtensionBeta.zip
|
||||||
name: EdgeExtension.zip
|
name: ChromeExtensionBeta.zip
|
||||||
path: ./builds/EdgeExtension.zip
|
path: ./builds/ChromeExtensionBeta.zip
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
# Firefox Beta
|
# Firefox Beta
|
||||||
|
|||||||
Reference in New Issue
Block a user