From 9f5ec09789834c8566e7d1d0f25f47fd07fc5f83 Mon Sep 17 00:00:00 2001 From: Ajay Date: Fri, 14 Jan 2022 17:07:10 -0500 Subject: [PATCH] Add safari and edge build to release --- .github/workflows/release.yml | 38 +++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) 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