mirror of https://github.com/databricks/cli.git
bring the artifact GPG signing
This commit is contained in:
parent
da41d3c154
commit
3cc425f7f1
|
@ -15,17 +15,17 @@ jobs:
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: 1.16
|
go-version: 1.16
|
||||||
# - name: Import GPG key
|
- name: Import GPG key
|
||||||
# id: import_gpg
|
id: import_gpg
|
||||||
# uses: hashicorp/ghaction-import-gpg@v2.1.0
|
uses: hashicorp/ghaction-import-gpg@v2.1.0
|
||||||
# env:
|
env:
|
||||||
# GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
|
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||||
# PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
|
PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
|
||||||
- name: Run GoReleaser
|
- name: Run GoReleaser
|
||||||
uses: goreleaser/goreleaser-action@v2
|
uses: goreleaser/goreleaser-action@v2
|
||||||
with:
|
with:
|
||||||
version: latest
|
version: latest
|
||||||
args: release --rm-dist
|
args: release --rm-dist
|
||||||
env:
|
env:
|
||||||
# GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
|
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in New Issue