File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 1313 os : [ linux, darwin ]
1414 arch : [ amd64, arm64 ]
1515 steps :
16+ - name : Install Go
17+ uses : actions/setup-go@v3
18+ with :
19+ go-version : 1.18.x
1620 - uses : actions/checkout@v3
1721 - name : Go Build
1822 run : CGO_ENABLED=0 GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} go build -a -installsuffix cgo -o paranoia .
2125 name : paranoia-${{ matrix.os }}-${{ matrix.arch }}
2226 path : paranoia
2327
28+ docs :
29+ runs-on : ubuntu-latest
30+ steps :
31+ - uses : actions/checkout@v3
32+ - name : Documentation Build
33+ run : go run ./hack/generate-manual
34+ - uses : actions/upload-artifact@v3
35+ with :
36+ name : man-pages
37+ path : man/
38+
2439 release :
2540 needs :
2641 - build
3752 mv paranoia-darwin-arm64/paranoia bin/paranoia-darwin-arm64
3853 mv paranoia-linux-amd64/paranoia bin/paranoia-linux-amd64
3954 mv paranoia-linux-arm64/paranoia bin/paranoia-linux-arm64
55+ mkdir man
56+ mv man-pages/* man/
4057 - name : Release
4158 uses : softprops/action-gh-release@v1
4259 with :
4360 files : |
4461 LICENSE.txt
4562 bin/paranoia-*
63+ man/*
Original file line number Diff line number Diff line change 7272
7373 - name : Export Command Test
7474 run : it/export.sh
75+ docs :
76+ runs-on : ubuntu-latest
77+ steps :
78+ - uses : actions/checkout@v3
79+ - name : Documentation Build
80+ run : go run ./hack/generate-manual
81+ - uses : actions/upload-artifact@v3
82+ with :
83+ name : man-pages
84+ path : man/
7585 # This action tests two things: That the GitHub Action works (as defined in the action.yml file) and by running
7686 # Paranoia on itself that we are shipping only the correct certs internally.
7787 paranoia-action-self-check :
You can’t perform that action at this time.
0 commit comments