mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
ci: install dotnet v10 (#10937)
A new version of the `AzureSignTool` appears to require a dotnet version that is not yet installed on the GitHub runners. Ideally we would be managing this via `.tool-versions` but that needs a bit more work, see the CI failures in #10936.
This commit is contained in:
13
.github/actions/setup-azure-sign-tool/action.yml
vendored
Normal file
13
.github/actions/setup-azure-sign-tool/action.yml
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
name: "Setup AzureSignTool"
|
||||
description: "Installs the AzureSignTool"
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
|
||||
if: ${{ runner.os == 'Windows' }}
|
||||
with:
|
||||
dotnet-version: "10.0.x"
|
||||
- name: Install AzureSignTool
|
||||
if: ${{ runner.os == 'Windows' }}
|
||||
shell: bash
|
||||
run: dotnet tool install --global AzureSignTool
|
||||
4
.github/workflows/_data-plane.yml
vendored
4
.github/workflows/_data-plane.yml
vendored
@@ -139,9 +139,7 @@ jobs:
|
||||
|
||||
cargo build $PROFILE -p ${{ matrix.package }} --target ${{ matrix.target }}
|
||||
mv target/${{ matrix.target }}/${{ inputs.profile }}/${{ matrix.package }}.exe "$ARTIFACT_PATH"
|
||||
- name: Install AzureSignTool
|
||||
shell: bash
|
||||
run: dotnet tool install --global AzureSignTool
|
||||
- uses: ./.github/actions/setup-azure-sign-tool
|
||||
- name: Sign the binary
|
||||
shell: bash
|
||||
env:
|
||||
|
||||
5
.github/workflows/_tauri.yml
vendored
5
.github/workflows/_tauri.yml
vendored
@@ -151,10 +151,7 @@ jobs:
|
||||
organization: firezone-inc
|
||||
- name: Install pnpm deps
|
||||
run: pnpm install
|
||||
- name: Install AzureSignTool
|
||||
if: ${{ runner.os == 'Windows' }}
|
||||
shell: bash
|
||||
run: dotnet tool install --global AzureSignTool
|
||||
- uses: ./.github/actions/setup-azure-sign-tool
|
||||
- name: Build release exe and MSI / deb
|
||||
env:
|
||||
CARGO_PROFILE_RELEASE_LTO: thin # Fat LTO is getting too slow / RAM-hungry on Tauri builds
|
||||
|
||||
Reference in New Issue
Block a user