File tree 3 files changed +17
-4
lines changed
3 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 10
10
types : [opened, reopened]
11
11
12
12
jobs :
13
- goreleaser :
13
+ build :
14
14
runs-on : ubuntu-latest
15
15
env :
16
16
DOCKER_CLI_EXPERIMENTAL : " enabled"
Original file line number Diff line number Diff line change 6
6
- " *"
7
7
8
8
jobs :
9
- goreleaser :
9
+ release :
10
10
runs-on : ubuntu-latest
11
11
env :
12
12
DOCKER_CLI_EXPERIMENTAL : " enabled"
@@ -22,13 +22,17 @@ jobs:
22
22
with :
23
23
go-version : ' ^1.18.0'
24
24
- name : Login to Docker hub
25
+ if : ${{ !env.ACT }}
25
26
run : docker login -u ${{ secrets.DOCKER_HUB_USER }} -p ${{ secrets.DOCKER_HUB_PASSWORD }}
26
27
- name : Import GPG key
28
+ if : ${{ !env.ACT }}
27
29
id : import_gpg
28
- uses : crazy-max/ghaction-import-gpg@v4
30
+ uses : crazy-max/ghaction-import-gpg@v5
29
31
with :
30
32
gpg_private_key : ${{ secrets.SIGNING_KEY }}
31
- - uses : goreleaser/goreleaser-action@v4
33
+ - name : Release Helm-Docs
34
+ if : ${{ !env.ACT }}
35
+ uses : goreleaser/goreleaser-action@v4
32
36
with :
33
37
args : release
34
38
env :
Original file line number Diff line number Diff line change @@ -12,3 +12,12 @@ To run benchmarks, run the command:
12
12
```
13
13
go test -run=^$ -bench=. ./cmd/helm-docs
14
14
```
15
+
16
+ ### Github Actions
17
+ You may use [ act] ( https://github.com/nektos/act ) to test
18
+
19
+ locally the workflow.By issuing the following command you can
20
+ see if a release will work as expected.
21
+ ``` bash
22
+ act -j release
23
+ ```
You can’t perform that action at this time.
0 commit comments