mirror of
https://github.com/bitwarden/browser
synced 2025-01-24 18:25:06 +01:00
Add Version as Step Summary for MacOS jobs in Build Desktop workflow (#7880)
This commit is contained in:
parent
68cc52164f
commit
8988eabe5a
13
.github/workflows/build-desktop.yml
vendored
13
.github/workflows/build-desktop.yml
vendored
@ -140,8 +140,7 @@ jobs:
|
|||||||
linux:
|
linux:
|
||||||
name: Linux Build
|
name: Linux Build
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
needs:
|
needs: setup
|
||||||
- setup
|
|
||||||
env:
|
env:
|
||||||
_PACKAGE_VERSION: ${{ needs.setup.outputs.package_version }}
|
_PACKAGE_VERSION: ${{ needs.setup.outputs.package_version }}
|
||||||
_NODE_VERSION: ${{ needs.setup.outputs.node_version }}
|
_NODE_VERSION: ${{ needs.setup.outputs.node_version }}
|
||||||
@ -249,8 +248,7 @@ jobs:
|
|||||||
windows:
|
windows:
|
||||||
name: Windows Build
|
name: Windows Build
|
||||||
runs-on: windows-2022
|
runs-on: windows-2022
|
||||||
needs:
|
needs: setup
|
||||||
- setup
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
@ -457,8 +455,7 @@ jobs:
|
|||||||
macos-build:
|
macos-build:
|
||||||
name: MacOS Build
|
name: MacOS Build
|
||||||
runs-on: macos-13
|
runs-on: macos-13
|
||||||
needs:
|
needs: setup
|
||||||
- setup
|
|
||||||
env:
|
env:
|
||||||
_PACKAGE_VERSION: ${{ needs.setup.outputs.package_version }}
|
_PACKAGE_VERSION: ${{ needs.setup.outputs.package_version }}
|
||||||
_NODE_VERSION: ${{ needs.setup.outputs.node_version }}
|
_NODE_VERSION: ${{ needs.setup.outputs.node_version }}
|
||||||
@ -570,6 +567,7 @@ jobs:
|
|||||||
$package = Get-Content -Raw -Path electron-builder.json | ConvertFrom-Json
|
$package = Get-Content -Raw -Path electron-builder.json | ConvertFrom-Json
|
||||||
$package | Add-Member -MemberType NoteProperty -Name buildVersion -Value "$env:BUILD_NUMBER"
|
$package | Add-Member -MemberType NoteProperty -Name buildVersion -Value "$env:BUILD_NUMBER"
|
||||||
$package | ConvertTo-Json -Depth 32 | Set-Content -Path electron-builder.json
|
$package | ConvertTo-Json -Depth 32 | Set-Content -Path electron-builder.json
|
||||||
|
"### MacOS build number: $env:BUILD_NUMBER" | Out-File -FilePath $env:GITHUB_STEP_SUMMARY -Append
|
||||||
|
|
||||||
- name: Install Node dependencies
|
- name: Install Node dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
@ -716,6 +714,7 @@ jobs:
|
|||||||
$package = Get-Content -Raw -Path electron-builder.json | ConvertFrom-Json
|
$package = Get-Content -Raw -Path electron-builder.json | ConvertFrom-Json
|
||||||
$package | Add-Member -MemberType NoteProperty -Name buildVersion -Value "$env:BUILD_NUMBER"
|
$package | Add-Member -MemberType NoteProperty -Name buildVersion -Value "$env:BUILD_NUMBER"
|
||||||
$package | ConvertTo-Json -Depth 32 | Set-Content -Path electron-builder.json
|
$package | ConvertTo-Json -Depth 32 | Set-Content -Path electron-builder.json
|
||||||
|
"### MacOS GitHub build number: $env:BUILD_NUMBER" | Out-File -FilePath $env:GITHUB_STEP_SUMMARY -Append
|
||||||
|
|
||||||
- name: Install Node dependencies
|
- name: Install Node dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
@ -907,6 +906,7 @@ jobs:
|
|||||||
$package = Get-Content -Raw -Path electron-builder.json | ConvertFrom-Json
|
$package = Get-Content -Raw -Path electron-builder.json | ConvertFrom-Json
|
||||||
$package | Add-Member -MemberType NoteProperty -Name buildVersion -Value "$env:BUILD_NUMBER"
|
$package | Add-Member -MemberType NoteProperty -Name buildVersion -Value "$env:BUILD_NUMBER"
|
||||||
$package | ConvertTo-Json -Depth 32 | Set-Content -Path electron-builder.json
|
$package | ConvertTo-Json -Depth 32 | Set-Content -Path electron-builder.json
|
||||||
|
"### MacOS App Store build number: $env:BUILD_NUMBER" | Out-File -FilePath $env:GITHUB_STEP_SUMMARY -Append
|
||||||
|
|
||||||
- name: Install Node dependencies
|
- name: Install Node dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
@ -1085,6 +1085,7 @@ jobs:
|
|||||||
$package = Get-Content -Raw -Path electron-builder.json | ConvertFrom-Json
|
$package = Get-Content -Raw -Path electron-builder.json | ConvertFrom-Json
|
||||||
$package | Add-Member -MemberType NoteProperty -Name buildVersion -Value "$env:BUILD_NUMBER"
|
$package | Add-Member -MemberType NoteProperty -Name buildVersion -Value "$env:BUILD_NUMBER"
|
||||||
$package | ConvertTo-Json -Depth 32 | Set-Content -Path electron-builder.json
|
$package | ConvertTo-Json -Depth 32 | Set-Content -Path electron-builder.json
|
||||||
|
"### MacOS Dev build number: $env:BUILD_NUMBER" | Out-File -FilePath $env:GITHUB_STEP_SUMMARY -Append
|
||||||
|
|
||||||
- name: Install Node dependencies
|
- name: Install Node dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
Loading…
Reference in New Issue
Block a user