From 17d220393df97efb96e0bc66f4e2ba055963ccd8 Mon Sep 17 00:00:00 2001 From: Louis <6723574+louisgv@users.noreply.github.com> Date: Fri, 25 Feb 2022 01:48:07 -0400 Subject: [PATCH] Use release assets for submission instead --- .github/workflows/submit.yml | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/.github/workflows/submit.yml b/.github/workflows/submit.yml index d1b5be632..0ae0e6335 100644 --- a/.github/workflows/submit.yml +++ b/.github/workflows/submit.yml @@ -6,23 +6,12 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2.1.2 + - name: Download Github Release Assets + uses: plasmo-corp/download-release-asset@v1.0.0 with: - node-version: '14' - - name: Restore npm cache - uses: actions/cache@v2 - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }} - restore-keys: | - ${{ runner.os }}-node- - - name: Install dependencies - run: npm install - - name: Build package - run: npm run build + files: webextension.zip - name: Browser Plugin Publish uses: plasmo-corp/bpp@v1 with: - artifact: ./build/webextension.zip + artifact: webextension.zip keys: ${{ secrets.SUBMIT_KEYS }}