mirror of https://github.com/databricks/cli.git
Release Windows packages to winget-pkgs (#1144)
## Changes This PR adds a release workflow which will automatically publish the CLI to winget-pkgs whenever a release is made. It uses https://github.com/vedantmgoyal2009/winget-releaser to release the windows binaries. @exorcism0666 has been graciously making releases on our behalf, but we can do this automatically ourselves after this PR. ## Tests <!-- How is this tested? -->
This commit is contained in:
parent
6fcf6ba76b
commit
2f1b81cba0
|
@ -117,3 +117,14 @@ 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 }}
|
||||||
|
|
Loading…
Reference in New Issue