1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01:00

Merge pull request #658 from bitwarden/fix-mac-release

Fixing MacOS deploy
This commit is contained in:
Joseph Flinn 2021-01-22 12:58:27 -08:00 committed by GitHub
commit 835b807d8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 17 deletions

View File

@ -1,6 +1,6 @@
$rootPath = $env:GITHUB_WORKSPACE; $rootPath = $env:GITHUB_WORKSPACE;
$packagePath = "$rootPath\package.json"; $packagePath = "$rootPath\package.json";
$buildNumber = 100 + [int]$env:GITHUB_RUN_NUMBER; $buildNumber = 500 + [int]$env:GITHUB_RUN_NUMBER;
Write-Output "Setting build number to $buildNumber"; Write-Output "Setting build number to $buildNumber";
Write-Output "BUILD_NUMBER=$buildNumber" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append; Write-Output "BUILD_NUMBER=$buildNumber" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append;
$package = Get-Content -Raw -Path $packagePath | ConvertFrom-Json; $package = Get-Content -Raw -Path $packagePath | ConvertFrom-Json;

View File

@ -9,24 +9,9 @@ on:
jobs: jobs:
cloc:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Set up cloc
run: |
sudo apt-get update
sudo apt-get -y install cloc
- name: Print lines of code
run: cloc --include-lang TypeScript,JavaScript,HTML,Sass,CSS --vcs git
setup: setup:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: false
outputs: outputs:
release_upload_url: ${{ steps.create_release.outputs.upload_url }} release_upload_url: ${{ steps.create_release.outputs.upload_url }}
steps: steps:
@ -53,6 +38,7 @@ jobs:
linux: linux:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: false
needs: setup needs: setup
steps: steps:
- name: Set up Node - name: Set up Node
@ -106,6 +92,7 @@ jobs:
windows: windows:
runs-on: windows-latest runs-on: windows-latest
if: false
needs: setup needs: setup
steps: steps:
- name: Set up dotnet - name: Set up dotnet