aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorAjay <[email protected]>2022-01-14 17:07:10 -0500
committerAjay <[email protected]>2022-01-14 17:07:10 -0500
commit9f5ec09789834c8566e7d1d0f25f47fd07fc5f83 (patch)
tree15ca90a583245273ba1dd338e69eecfc55d3668b /.github
parenta82062da5b7903d4b9f82f4abd02e5daf4a30436 (diff)
downloadSponsorBlock-9f5ec09789834c8566e7d1d0f25f47fd07fc5f83.tar.gz
SponsorBlock-9f5ec09789834c8566e7d1d0f25f47fd07fc5f83.zip
Add safari and edge build to release
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release.yml38
1 files changed, 38 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 660e1095..7edb5c06 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -51,6 +51,30 @@ jobs:
- name: Zip Artifacts
run: cd ./dist ; zip -r ../builds/ChromeExtensionBeta.zip *
+
+ # Create Safari artifacts
+ - name: Create Safari artifacts
+ run: npm run build:safari
+ - uses: actions/upload-artifact@v2
+ with:
+ name: SafariExtension
+ path: dist
+ - run: mkdir ./builds
+ - name: Zip Artifacts
+ run: cd ./dist ; zip -r ../builds/SafariExtension.zip *
+ # Create Edge artifacts
+ - name: Clear dist for Edge
+ run: rm -rf ./dist
+ - name: Create Edge artifacts
+ run: npm run build:edge
+ - uses: actions/upload-artifact@v2
+ with:
+ name: EdgeExtension
+ path: dist
+ - run: mkdir ./builds
+ - name: Zip Artifacts
+ run: cd ./dist ; zip -r ../builds/EdgeExtension.zip *
+
# Upload each release asset
- name: Upload ChromeExtension to release
uses: Shopify/upload-to-release@master
@@ -73,6 +97,20 @@ jobs:
name: FirefoxExtension.zip
path: ./builds/FirefoxExtension.zip
repo-token: ${{ secrets.GITHUB_TOKEN }}
+ - name: Upload SafariExtension to release
+ uses: Shopify/upload-to-release@master
+ with:
+ args: builds/SafariExtension.zip
+ name: SafariExtension.zip
+ path: ./builds/SafariExtension.zip
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
+ - name: Upload EdgeExtension to release
+ uses: Shopify/upload-to-release@master
+ with:
+ args: builds/EdgeExtension.zip
+ name: EdgeExtension.zip
+ path: ./builds/EdgeExtension.zip
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
# Firefox Beta
- name: Create Firefox Beta artifacts