Skip to content

Commit a478352

Browse files
committed
chore: cd pipeline refactoring
1 parent 2eba532 commit a478352

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/cd_pipeline.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
uses: actions/upload-artifact@main
5555
with:
5656
name: ${{ matrix.target }}
57-
path: ./.output/tabs-aside-*-${{ matrix.target }}.zip
57+
path: ./.output/tabs-aside-*.zip
5858
include-hidden-files: true
5959

6060
- name: web-ext lint
@@ -65,7 +65,7 @@ jobs:
6565
self-hosted: false
6666

6767
- run: yarn audit
68-
if: ${{ github.event_name == 'release' || github.event.inputs.bypass_audit == 'false' }}
68+
continue-on-error: ${{ github.event_name != 'release' && github.event.inputs.bypass_audit == 'true' }}
6969

7070
publish-github:
7171
needs: build
@@ -103,7 +103,7 @@ jobs:
103103

104104
- uses: wdzeng/[email protected]
105105
with:
106-
extension-id: mgmjbodjgijnebfgohlnjkegdpbdjgin
106+
extension-id: ${{ secrets.CHROME_EXT_ID }}
107107
zip-path: tabs-aside-*-chrome.zip
108108
client-id: ${{ secrets.CHROME_CLIENT_ID }}
109109
client-secret: ${{ secrets.CHROME_CLIENT_SECRET }}
@@ -136,9 +136,10 @@ jobs:
136136
with:
137137
name: firefox
138138

139-
- uses: wdzeng/firefox-addon@v1.1.2
139+
- uses: wdzeng/firefox-addon@v1.2.0
140140
with:
141141
addon-guid: ${{ secrets.FIREFOX_EXT_UUID }}
142142
xpi-path: tabs-aside-*-firefox.zip
143+
source-file-path: tabs-aside-*-sources.zip
143144
jwt-issuer: ${{ secrets.FIREFOX_API_KEY }}
144145
jwt-secret: ${{ secrets.FIREFOX_CLIENT_SECRET }}

0 commit comments

Comments
 (0)