Skip to content

Commit

Permalink
Rm dots
Browse files Browse the repository at this point in the history
  • Loading branch information
SunsetMkt committed Nov 1, 2024
1 parent a2edd0e commit 3c8f7c1
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/build-browser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Get Latest Browser Tag
id: gen_vars
working-directory: ./clients
working-directory: clients
run: |
# Find all tags and sort by time
git fetch --tags
Expand All @@ -56,7 +56,7 @@ jobs:
- name: Get Node Version
id: retrieve-node-version
working-directory: ./clients
working-directory: clients
run: |
NODE_NVMRC=$(cat .nvmrc)
NODE_VERSION=${NODE_NVMRC/v/''}
Expand All @@ -69,7 +69,7 @@ jobs:
- setup
defaults:
run:
working-directory: ./clients/apps/browser/
working-directory: clients/apps/browser/
steps:
- name: Checkout repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
git clone https://github.com/bitwarden/clients.git
- name: Setup repo
working-directory: ./clients
working-directory: clients
run: |
git fetch --tags
echo "Checking out ${{ env._LATEST_BROWSER_TAG }}"
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:
git apply fakePremium.patch -v
- name: Build sources for reviewers
working-directory: ./clients
working-directory: clients
run: |
# Include hidden files in glob copy
shopt -s dotglob
Expand Down Expand Up @@ -183,87 +183,87 @@ jobs:
- name: NPM setup
run: npm ci
working-directory: ./clients/browser-source/
working-directory: clients/browser-source/

- name: Build
run: npm run dist
working-directory: ./clients/browser-source/apps/browser
working-directory: clients/browser-source/apps/browser

- name: Build Manifest v3
run: npm run dist:mv3
working-directory: ./clients/browser-source/apps/browser
working-directory: clients/browser-source/apps/browser

- name: Build Chrome Manifest v3 Beta
run: npm run dist:chrome:beta
working-directory: ./clients/browser-source/apps/browser
working-directory: clients/browser-source/apps/browser

- name: Upload Opera artifact
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: dist-opera-${{ env._LATEST_BROWSER_TAG }}.zip
path: ./clients/browser-source/apps/browser/dist/dist-opera.zip
path: clients/browser-source/apps/browser/dist/dist-opera.zip
if-no-files-found: error

- name: Upload Opera MV3 artifact (DO NOT USE FOR PROD)
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: DO-NOT-USE-FOR-PROD-dist-opera-MV3-${{ env._LATEST_BROWSER_TAG }}.zip
path: ./clients/browser-source/apps/browser/dist/dist-opera-mv3.zip
path: clients/browser-source/apps/browser/dist/dist-opera-mv3.zip
if-no-files-found: error

- name: Upload Chrome MV3 artifact
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: dist-chrome-MV3-${{ env._LATEST_BROWSER_TAG }}.zip
path: ./clients/browser-source/apps/browser/dist/dist-chrome-mv3.zip
path: clients/browser-source/apps/browser/dist/dist-chrome-mv3.zip
if-no-files-found: error

- name: Upload Chrome MV3 Beta artifact (DO NOT USE FOR PROD)
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: DO-NOT-USE-FOR-PROD-dist-chrome-MV3-beta-${{ env._LATEST_BROWSER_TAG }}.zip
path: ./clients/browser-source/apps/browser/dist/dist-chrome-mv3-beta.zip
path: clients/browser-source/apps/browser/dist/dist-chrome-mv3-beta.zip
if-no-files-found: error

- name: Upload Firefox artifact
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: dist-firefox-${{ env._LATEST_BROWSER_TAG }}.zip
path: ./clients/browser-source/apps/browser/dist/dist-firefox.zip
path: clients/browser-source/apps/browser/dist/dist-firefox.zip
if-no-files-found: error

- name: Upload Firefox MV3 artifact (DO NOT USE FOR PROD)
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: DO-NOT-USE-FOR-PROD-dist-firefox-MV3-${{ env._LATEST_BROWSER_TAG }}.zip
path: ./clients/browser-source/apps/browser/dist/dist-firefox-mv3.zip
path: clients/browser-source/apps/browser/dist/dist-firefox-mv3.zip
if-no-files-found: error

- name: Upload Edge artifact
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: dist-edge-${{ env._LATEST_BROWSER_TAG }}.zip
path: ./clients/browser-source/apps/browser/dist/dist-edge.zip
path: clients/browser-source/apps/browser/dist/dist-edge.zip
if-no-files-found: error

- name: Upload Edge MV3 artifact (DO NOT USE FOR PROD)
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: DO-NOT-USE-FOR-PROD-dist-edge-MV3-${{ env._LATEST_BROWSER_TAG }}.zip
path: ./clients/browser-source/apps/browser/dist/dist-edge-mv3.zip
path: clients/browser-source/apps/browser/dist/dist-edge-mv3.zip
if-no-files-found: error

- name: Upload browser source
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: browser-source-${{ env._LATEST_BROWSER_TAG }}.zip
path: ./clients/browser-source.zip
path: clients/browser-source.zip
if-no-files-found: error

- name: Create release
uses: ncipollo/release-action@2c591bcc8ecdcd2db72b97d6147f871fcd833ba5 # v1.14.0
with:
artifacts: "./clients/browser-source/apps/browser/dist/*,./clients/browser-source.zip"
artifacts: "clients/browser-source/apps/browser/dist/*,clients/browser-source.zip"
tag: "${{ env._LATEST_BROWSER_TAG }}"
name: "${{ env._LATEST_BROWSER_TAG }}"
body: "${{ env._LATEST_BROWSER_TAG }} [Original Changelog](https://github.com/bitwarden/clients/releases/tag/${{ env._LATEST_BROWSER_TAG }})"
Expand Down

0 comments on commit 3c8f7c1

Please sign in to comment.