File tree Expand file tree Collapse file tree 2 files changed +54
-0
lines changed
Expand file tree Collapse file tree 2 files changed +54
-0
lines changed Original file line number Diff line number Diff line change 1+ # File generated by github.com/posener/goaction. DO NOT EDIT.
2+
3+
4+ FROM golang:1.14.2-alpine3.11
5+ RUN apk add git
6+
7+ COPY . /home/src
8+ WORKDIR /home/src
9+ RUN go build -o /bin/action ./
10+
11+ ENTRYPOINT [ "/bin/action" ]
Original file line number Diff line number Diff line change 1+ # File generated by github.com/posener/goaction. DO NOT EDIT.
2+
3+ name : fetch-gh-release-binary
4+ description : |
5+ GitHub Action to download binaries from GitHub releases and make them
6+ available for use in later steps.
7+ inputs :
8+ owner :
9+ description : " Owner of the repo with the release asset"
10+ required : false
11+ repo :
12+ description : " Repo with the release asset"
13+ required : false
14+ version :
15+ description : " Version of the release asset to fetch, if unset, use latest"
16+ required : false
17+ asset-pattern :
18+ description : " Pattern the asset name must match"
19+ required : false
20+ install-path :
21+ description : " Where to put the installed binary"
22+ required : false
23+ verbose :
24+ default : false
25+ description : " whether to enable verbose logging"
26+ required : false
27+ GITHUB_TOKEN :
28+ required : false
29+ runs :
30+ using : docker
31+ image : Dockerfile
32+ env :
33+ GITHUB_TOKEN : " ${{ inputs.GITHUB_TOKEN }}"
34+ args :
35+ - " -owner=${{ inputs.owner }}"
36+ - " -repo=${{ inputs.repo }}"
37+ - " -version=${{ inputs.version }}"
38+ - " -asset-pattern=${{ inputs.asset-pattern }}"
39+ - " -install-path=${{ inputs.install-path }}"
40+ - " -verbose=${{ inputs.verbose }}"
41+ branding :
42+ icon : arrow-down-circle
43+ color : orange
You can’t perform that action at this time.
0 commit comments