Skip to content

Commit 1c1a104

Browse files
authored
ci: upload chrome extension artifact even if vscode fails (#1930)
## Proposed change Today, if one of the tasks in `publish:extension` fails, the upload of chrome-extension is skipped ## Related issues - 🐛 Fixes #(issue) - 🚀 Feature #(issue) <!-- Please make sure to follow the contributing guidelines on https://github.com/amadeus-digital/Otter/blob/main/CONTRIBUTING.md -->
2 parents eae0eac + 8767388 commit 1c1a104

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ jobs:
140140
CHROME_EXT_ID: ${{ secrets.CHROME_EXT_ID }}
141141
CHROME_REFRESH_TOKEN: ${{ secrets.CHROME_REFRESH_TOKEN }}
142142
- name: Expose Chrome extension artifact
143-
if: '!inputs.prerelease'
143+
if: (success() || failure()) && !inputs.prerelease
144144
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
145145
with:
146146
name: chrome-extension

0 commit comments

Comments
 (0)