1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-05 01:53:55 +00:00

Fix Choco Release & Update Dry Run logic (#3017)

* disabling snap for testing

* adding in environment logging

* adding in some Dry Run logic

* adding more protected dry run logic

* skipping long running steps for testing purposes

* testing out windowws-2022 runner

* Trying a different GitHub Action expression syntax

* manually disabling jobs because I don't have time to figure out GitHub's weird syntax

* updating nuget on windows-2019

* disabling the nuget version 6

* trying more GitHub Action syntax

* disabling choco for testing

* running test on Dry Run release

* changing the double quotes to single quotes inside the GitHub Action expression

* removing testing code

* updating more dry run logic

* reverting a branch name change
This commit is contained in:
Joseph Flinn
2022-07-01 08:44:20 -07:00
committed by GitHub
parent a2360aebd2
commit 6bcde3a84c
4 changed files with 56 additions and 3 deletions

View File

@@ -222,6 +222,7 @@ jobs:
- cfpages-deploy
steps:
- name: Download latest build artifacts
if: ${{ github.event.inputs.release_type != 'Dry Run' }}
uses: bitwarden/gh-actions/download-artifacts@c1fa8e09871a860862d6bbe36184b06d2c7e35a8
with:
workflow: build-web.yml
@@ -231,6 +232,17 @@ jobs:
artifacts: "web-*-selfhosted-COMMERCIAL.zip,
web-*-selfhosted-open-source.zip"
- name: Download latest build artifacts
if: ${{ github.event.inputs.release_type == 'Dry Run' }}
uses: bitwarden/gh-actions/download-artifacts@c1fa8e09871a860862d6bbe36184b06d2c7e35a8
with:
workflow: build-web.yml
path: apps/web/artifacts
workflow_conclusion: success
branch: master
artifacts: "web-*-selfhosted-COMMERCIAL.zip,
web-*-selfhosted-open-source.zip"
- name: Rename assets
working-directory: apps/web/artifacts
run: |