mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-24 11:55:50 +01:00
Merge pull request #889 from bitwarden/fix-desktop-deploy
Fix desktop deploy
This commit is contained in:
commit
80ea232eb6
19
.github/workflows/deploy.yml
vendored
19
.github/workflows/deploy.yml
vendored
@ -59,7 +59,7 @@ jobs:
|
||||
needs: setup
|
||||
env:
|
||||
PKG_VERSION: ${{ needs.setup.outputs.package_version }}
|
||||
TAG_VERSION: ${{ needs.setup.ouputs.tag_version }}
|
||||
TAG_VERSION: ${{ needs.setup.outputs.tag_version }}
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v2
|
||||
@ -85,7 +85,7 @@ jobs:
|
||||
|
||||
- name: Deploy to Snap Store
|
||||
run: |
|
||||
snapcraft upload dist/bitwarden_${{ env.PACKAGE_VERSION }}_amd64.snap --release stable
|
||||
snapcraft upload dist/bitwarden_${{ env.PKG_VERSION }}_amd64.snap --release stable
|
||||
snapcraft logout
|
||||
|
||||
|
||||
@ -101,12 +101,12 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Get choco release asset
|
||||
uses: dsaltares/fetch-gh-release-asset@0.0.5
|
||||
uses: Xotl/cool-github-releases@v1
|
||||
with:
|
||||
version: tags/${{ env.TAG_VERSION }}
|
||||
file: bitwarden.${{ env.PKG_VERSION }}.nupkg
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
mode: download
|
||||
tag_name: ${{ env.TAG_VERSION }}
|
||||
assets: bitwarden.${{ env.PKG_VERSION }}.nupkg
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Setup Chocolatey
|
||||
run: choco apikey --key $env:CHOCO_API_KEY --source https://push.chocolatey.org/
|
||||
@ -135,6 +135,9 @@ jobs:
|
||||
macos:
|
||||
runs-on: macos-latest
|
||||
needs: setup
|
||||
env:
|
||||
PKG_VERSION: ${{ needs.setup.outputs.package_version }}
|
||||
TAG_VERSION: ${{ needs.setup.outputs.tag_version }}
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v2
|
||||
@ -147,7 +150,7 @@ jobs:
|
||||
with:
|
||||
mode: download
|
||||
tag_name: ${{ env.TAG_VERSION }}
|
||||
assets: Bitwarden-${{ env.PACKAGE_VERSION }}-universal.pkg|./dist/mas-universal/Bitwarden-${{ env.PACKAGE_VERSION }}-universal.pkg
|
||||
assets: Bitwarden-${{ env.PKG_VERSION }}-universal.pkg|./dist/mas-universal/Bitwarden-${{ env.PKG_VERSION }}-universal.pkg
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Deploy to App Store
|
||||
|
Loading…
Reference in New Issue
Block a user