FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
SecCrawler/.github/workflows/release.yaml at master · savior-only/SecCrawler · GitHub
savior-only
SecCrawler
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
SecCrawler
/
.github
/
workflows
/
release.yaml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
37 lines (35 loc) · 1.11 KB
Breadcrumbs
SecCrawler
/
.github
/
workflows
/
release.yaml
Copy path
File metadata and controls
37 lines (35 loc) · 1.11 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name
:
🎉 Release Go Binary
on
:
release
:
types
:
[created]
workflow_dispatch
:
jobs
:
releases-matrix
:
name
:
Release Go Binary
runs-on
:
ubuntu-latest
strategy
:
matrix
:
#
build and publish in parallel: linux/386, linux/amd64, linux/arm64, windows/386, windows/amd64, darwin/amd64, darwin/arm64
goos
:
[linux, windows, darwin]
goarch
:
["386", amd64, arm64]
exclude
:
-
goarch
:
"
386
"
goos
:
darwin
-
goarch
:
arm64
goos
:
windows
steps
:
-
name
:
Short tag Version
id
:
short_tag
run
:
echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
-
uses
:
actions/checkout@v2
-
uses
:
wangyoucao577/go-release-action@v1.22
with
:
github_token
:
${{ secrets.GITHUB_TOKEN }}
goos
:
${{ matrix.goos }}
goarch
:
${{ matrix.goarch }}
goversion
:
1.16
overwrite
:
true
#
build_command: go build
build_flags
:
-trimpath -tags=jsoniter
ldflags
:
-s -w
asset_name
:
SecCrawler_${{ matrix.goos }}_${{ matrix.goarch }}_${{ steps.short_tag.outputs.VERSION }}
Back
|
FazBrowse Home
|
New Git URL