Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
DrFaust92 committed Aug 22, 2022
1 parent 91987d6 commit e05167f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ on:
push:
tags:
- 'v*'
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
Expand All @@ -28,18 +30,18 @@ jobs:
name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.18'
go-version-file: 'go.mod'
cache: true
-
name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v5
id: import_gpg
uses: hashicorp/[email protected]
env:
# These secrets will need to be configured for the repository:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
PASSPHRASE: ${{ secrets.PASSPHRASE }}
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
uses: goreleaser/goreleaser-action@v3.0.0
with:
version: latest
args: release --rm-dist
Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module github.com/terraform-providers/terraform-provider-bitbucket

go 1.18

require (
github.com/DrFaust92/bitbucket-go-client v0.1.0
github.com/antihax/optional v1.0.0
Expand Down

0 comments on commit e05167f

Please sign in to comment.