mirror of https://github.com/databricks/cli.git
Decouple winget release (#1389)
## Changes We are starting to sign Windows CLI executables, but this has to be done from a machine with a Yubikey storing the signing certificate for the immediate future. As such, we will only trigger Winget publishing once the signed binaries have been uploaded to Github. Additionally, as an extra precaution, we will only release the signed binaries via Winget. ## Tests <!-- How is this tested? -->
This commit is contained in:
parent
1d9bf4b2c4
commit
5ee4b41cd5
|
@ -0,0 +1,16 @@
|
||||||
|
name: publish-winget
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish-to-winget-pkgs:
|
||||||
|
runs-on: windows-latest
|
||||||
|
environment: release
|
||||||
|
steps:
|
||||||
|
- uses: vedantmgoyal2009/winget-releaser@93fd8b606a1672ec3e5c6c3bb19426be68d1a8b0 # https://github.com/vedantmgoyal2009/winget-releaser/releases/tag/v2
|
||||||
|
with:
|
||||||
|
identifier: Databricks.DatabricksCLI
|
||||||
|
installers-regex: 'windows_.*-signed\.zip$' # Only signed Windows releases
|
||||||
|
token: ${{ secrets.ENG_DEV_ECOSYSTEM_BOT_TOKEN }}
|
||||||
|
fork-user: eng-dev-ecosystem-bot
|
|
@ -130,15 +130,3 @@ jobs:
|
||||||
version: "${{ env.VERSION }}",
|
version: "${{ env.VERSION }}",
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
publish-to-winget-pkgs:
|
|
||||||
needs: goreleaser
|
|
||||||
runs-on: windows-latest
|
|
||||||
environment: release
|
|
||||||
steps:
|
|
||||||
- uses: vedantmgoyal2009/winget-releaser@93fd8b606a1672ec3e5c6c3bb19426be68d1a8b0 # https://github.com/vedantmgoyal2009/winget-releaser/releases/tag/v2
|
|
||||||
with:
|
|
||||||
identifier: Databricks.DatabricksCLI
|
|
||||||
installers-regex: 'windows_.*\.zip$' # Only windows releases
|
|
||||||
token: ${{ secrets.ENG_DEV_ECOSYSTEM_BOT_TOKEN }}
|
|
||||||
fork-user: eng-dev-ecosystem-bot
|
|
||||||
|
|
Loading…
Reference in New Issue