aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorV <vendicated@riseup.net>2023-04-17 04:05:01 +0200
committerGitHub <noreply@github.com>2023-04-17 04:05:01 +0200
commit5305447f442b57443c4616ccd8d530c2c5e539b4 (patch)
treeae7eb4e71b1b2dffe15a5173d8282913a0c98e9d /.github/workflows
parent76e74b3e40c82ef1fd992596298fbf967bcef4c0 (diff)
downloadVencord-5305447f442b57443c4616ccd8d530c2c5e539b4.tar.gz
Vencord-5305447f442b57443c4616ccd8d530c2c5e539b4.tar.bz2
Vencord-5305447f442b57443c4616ccd8d530c2c5e539b4.zip
firefox: Fix csp (QuickCss, themes, some plugins) (#554)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml2
-rw-r--r--.github/workflows/publish.yml5
2 files changed, 3 insertions, 4 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 28a460e..46645ad 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -42,7 +42,7 @@ jobs:
- name: Clean up obsolete files
run: |
- rm -rf dist/extension-unpacked Vencord.user.css vencordDesktopRenderer.css vencordDesktopRenderer.css.map
+ rm -rf dist/*-unpacked Vencord.user.css vencordDesktopRenderer.css vencordDesktopRenderer.css.map
- name: Get some values needed for the release
id: release_values
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 89cc2cb..9f9df49 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -35,15 +35,15 @@ jobs:
- name: Publish extension
run: |
- cd dist/extension-unpacked
-
# Do not fail so that even if chrome fails, firefox gets a shot. But also store exit code to fail workflow later
EXIT_CODE=0
# Chrome
+ cd dist/chromium-unpacked
pnpx chrome-webstore-upload-cli@2.1.0 upload --auto-publish || EXIT_CODE=$?
# Firefox
+ cd ../chromium-unpacked
npm i -g web-ext@7.4.0 web-ext-submit@7.4.0
web-ext-submit || EXIT_CODE=$?
@@ -58,4 +58,3 @@ jobs:
# Firefox
WEB_EXT_API_KEY: ${{ secrets.WEBEXT_USER }}
WEB_EXT_API_SECRET: ${{ secrets.WEBEXT_SECRET }}
-