mirror of
https://github.com/bitwarden/browser
synced 2025-12-25 12:43:36 +00:00
MacOS Build Asset and Workflow Optimization (#942)
* adding more testable assets to the desktop build * fixing typo * renaming job * fixing loading safari extension * Fix typo * Update workflows to use new Node caching * Move checkout actions to beginning of jobs * Add Run ID to key for Node cache * Add Runner OS to cache actions * Fix build commands by putting 'npx' in front * Update builds to use other scripts in package.json * Set up keychain for macos-package-dev * Add 'Increment version' step to build workflow * Disable MacOS dev build. Test other MacOS builds * Add provisioning profile steps to other MacOS builds * Remove test branch code Co-authored-by: Joseph Flinn <joseph.s.flinn@gmail.com>
This commit is contained in:
20
.github/workflows/deploy.yml
vendored
20
.github/workflows/deploy.yml
vendored
@@ -16,7 +16,7 @@ jobs:
|
||||
tag_version: ${{ steps.create_tags.outputs.tag_version }}
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
||||
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
|
||||
|
||||
- name: Create Deploy version vars
|
||||
id: create_tags
|
||||
@@ -58,18 +58,18 @@ jobs:
|
||||
TAG_VERSION: ${{ needs.setup.outputs.tag_version }}
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
||||
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
|
||||
|
||||
- name: Install Snap
|
||||
uses: samuelmeuli/action-snapcraft@10d7d0a84d9d86098b19f872257df314b0bd8e2d
|
||||
uses: samuelmeuli/action-snapcraft@10d7d0a84d9d86098b19f872257df314b0bd8e2d # v1.2.0
|
||||
with:
|
||||
snapcraft_token: ${{ secrets.SNAP_TOKEN }}
|
||||
|
||||
- name: Setup
|
||||
run: mkdir dist
|
||||
|
||||
- name: Get snap package
|
||||
uses: Xotl/cool-github-releases@16c58a5863d6ba9944f63ca8bb78bb3249ce1d81
|
||||
- name: Get Snap package
|
||||
uses: Xotl/cool-github-releases@16c58a5863d6ba9944f63ca8bb78bb3249ce1d81 # v1.1.6
|
||||
with:
|
||||
mode: download
|
||||
tag_name: ${{ env.TAG_VERSION }}
|
||||
@@ -93,10 +93,10 @@ jobs:
|
||||
TAG_VERSION: ${{ needs.setup.outputs.tag_version }}
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
||||
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
|
||||
|
||||
- name: Get choco release asset
|
||||
uses: Xotl/cool-github-releases@16c58a5863d6ba9944f63ca8bb78bb3249ce1d81
|
||||
uses: Xotl/cool-github-releases@16c58a5863d6ba9944f63ca8bb78bb3249ce1d81 # v1.1.6
|
||||
with:
|
||||
mode: download
|
||||
tag_name: ${{ env.TAG_VERSION }}
|
||||
@@ -113,7 +113,7 @@ jobs:
|
||||
run: New-Item -ItemType directory -Path ./dist
|
||||
|
||||
- name: Get nupkg
|
||||
uses: Xotl/cool-github-releases@16c58a5863d6ba9944f63ca8bb78bb3249ce1d81
|
||||
uses: Xotl/cool-github-releases@16c58a5863d6ba9944f63ca8bb78bb3249ce1d81 # v1.1.6
|
||||
with:
|
||||
mode: download
|
||||
tag_name: ${{ env.TAG_VERSION }}
|
||||
@@ -135,13 +135,13 @@ jobs:
|
||||
TAG_VERSION: ${{ needs.setup.outputs.tag_version }}
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
||||
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
|
||||
|
||||
- name: Make target directory
|
||||
run: mkdir -p dist/mas-universal
|
||||
|
||||
- name: Get Mac release asset
|
||||
uses: Xotl/cool-github-releases@16c58a5863d6ba9944f63ca8bb78bb3249ce1d81
|
||||
uses: Xotl/cool-github-releases@16c58a5863d6ba9944f63ca8bb78bb3249ce1d81 # v1.1.6
|
||||
with:
|
||||
mode: download
|
||||
tag_name: ${{ env.TAG_VERSION }}
|
||||
|
||||
Reference in New Issue
Block a user