1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-06-25 10:26:00 +02: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;
$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 "BUILD_NUMBER=$buildNumber" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append;
$package = Get-Content -Raw -Path $packagePath | ConvertFrom-Json;

View File

@ -9,24 +9,9 @@ on:
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:
runs-on: ubuntu-latest
if: false
outputs:
release_upload_url: ${{ steps.create_release.outputs.upload_url }}
steps:
@ -53,6 +38,7 @@ jobs:
linux:
runs-on: ubuntu-latest
if: false
needs: setup
steps:
- name: Set up Node
@ -106,6 +92,7 @@ jobs:
windows:
runs-on: windows-latest
if: false
needs: setup
steps:
- name: Set up dotnet