Commit a6ee272 Tom Withers
committed
1 parent 4fb0ca4 commit a6ee272 Copy full SHA for a6ee272
File tree 2 files changed +43
-26
lines changed
2 files changed +43
-26
lines changed Original file line number Diff line number Diff line change @@ -11,26 +11,6 @@ workflows:
11
11
ignore :
12
12
- master
13
13
14
- build_and_release :
15
- jobs :
16
- - build_provider :
17
- name : build_and_test_provider
18
- filters :
19
- branches :
20
- ignore : /.*/
21
- tags :
22
- only : /^v.*/
23
-
24
- - release_provider :
25
- name : release_terraform_provider
26
- requires : [build_and_test_provider]
27
- filters :
28
- branches :
29
- ignore : /.*/
30
- tags :
31
- only : /^v.*/
32
-
33
-
34
14
orbs :
35
15
terraform_provider_circleci :
36
16
commands :
56
36
- store_test_results :
57
37
path : /tmp/test-results
58
38
59
- release_provider :
60
- docker :
61
- - image : circleci/golang
62
- steps :
63
- - checkout
64
- - run : curl -sL https://git.io/goreleaser | bash
39
+ # release_provider:
40
+ # docker:
41
+ # - image: circleci/golang
42
+ # steps:
43
+ # - checkout
44
+ # - run: curl -sL https://git.io/goreleaser | bash
Original file line number Diff line number Diff line change
1
+ name : goreleaser
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - ' v*'
7
+ jobs :
8
+ goreleaser :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ -
12
+ name : Checkout
13
+ uses : actions/checkout@v2.3.1
14
+ -
15
+ name : Unshallow
16
+ run : git fetch --prune --unshallow
17
+ -
18
+ name : Set up Go
19
+ uses : actions/setup-go@v2.1.0
20
+ with :
21
+ go-version : 1.14
22
+ -
23
+ name : Import GPG key
24
+ id : import_gpg
25
+ uses : paultyng/ghaction-import-gpg@v2.1.0
26
+ env :
27
+ GPG_PRIVATE_KEY : ${{ secrets.GPG_PRIVATE_KEY }}
28
+ PASSPHRASE : ${{ secrets.PASSPHRASE }}
29
+ -
30
+ name : Run GoReleaser
31
+ uses : goreleaser/goreleaser-action@v2
32
+ with :
33
+ version : latest
34
+ args : release --rm-dist
35
+ env :
36
+ GPG_FINGERPRINT : ${{ steps.import_gpg.outputs.fingerprint }}
37
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments