Merge pull request #2069 from bitwarden/hotfix/fix-build-artifacts

Fix upload of build artifacts
This commit is contained in:
Joseph Flinn 2021-09-14 13:32:36 -07:00 committed by GitHub
commit bc908df348
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 8 deletions

View File

@ -113,28 +113,34 @@ jobs:
uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700
with:
name: dist-opera-${{ env._BUILD_NUMBER }}.zip
path: dist/dist-opera-${{ env._BUILD_NUMBER }}.zip
path: dist/dist-opera.zip
if-no-files-found: error
- name: Upload Chrome artifact
uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700
with:
name: dist-chrome-${{ env._BUILD_NUMBER }}.zip
path: dist/dist-chrome-${{ env._BUILD_NUMBER }}.zip
path: dist/dist-chrome.zip
if-no-files-found: error
- name: Upload Firefox artifact
uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700
with:
name: dist-firefox-${{ env._BUILD_NUMBER }}.zip
path: dist/dist-firefox-${{ env._BUILD_NUMBER }}.zip
path: dist/dist-firefox.zip
if-no-files-found: error
- name: Upload Edge artifact
uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700
with:
name: dist-edge-${{ env._BUILD_NUMBER }}.zip
path: dist/dist-edge-${{ env._BUILD_NUMBER }}.zip
path: dist/dist-edge.zip
if-no-files-found: error
- name: Upload coverage artifact
if: false
uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700
with:
name: coverage-${{ env._BUILD_NUMBER }}.zip
path: coverage/coverage-${{ env._BUILD_NUMBER }}.zip
if-no-files-found: error

View File

@ -160,7 +160,7 @@ jobs:
with:
upload_url: ${{ needs.setup.outputs.release_upload_url }}
asset_name: dist-opera-${{ env._BUILD_NUMBER }}.zip
asset_path: dist/dist-opera-${{ env._BUILD_NUMBER }}.zip
asset_path: dist/dist-opera.zip
asset_content_type: application
- name: Upload Chrome release asset
@ -170,7 +170,7 @@ jobs:
with:
upload_url: ${{ needs.setup.outputs.release_upload_url }}
asset_name: dist-chrome-${{ env._BUILD_NUMBER }}.zip
asset_path: dist/dist-chrome-${{ env._BUILD_NUMBER }}.zip
asset_path: dist/dist-chrome.zip
asset_content_type: application/zip
- name: Upload Firefox release asset
@ -180,7 +180,7 @@ jobs:
with:
upload_url: ${{ needs.setup.outputs.release_upload_url }}
asset_name: dist-firefox-${{ env._BUILD_NUMBER }}.zip
asset_path: dist/dist-firefox-${{ env._BUILD_NUMBER }}.zip
asset_path: dist/dist-firefox.zip
asset_content_type: application/zip
- name: Upload Edge release asset
@ -190,7 +190,7 @@ jobs:
with:
upload_url: ${{ needs.setup.outputs.release_upload_url }}
asset_name: dist-edge-${{ env._BUILD_NUMBER }}.zip
asset_path: dist/dist-edge-${{ env._BUILD_NUMBER }}.zip
asset_path: dist/dist-edge.zip
asset_content_type: application/zip
- name: Upload browser source zip release asset