File tree Expand file tree Collapse file tree 3 files changed +31
-0
lines changed
Expand file tree Collapse file tree 3 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ branches : [main]
4+ jobs :
5+ goaction :
6+ runs-on : ubuntu-latest
7+ steps :
8+ - name : Check out repository
9+ uses : actions/checkout@v2
10+ - name : Update action files
11+ uses : posener/goaction@v1
12+ with :
13+ name : goaction-example
14+ github-token : ' ${{ secrets.GITHUB_TOKEN }}'
Original file line number Diff line number Diff line change 11# fetch-gh-release-binary
2+
3+ GitHub Action generated with [ goaction] ( https://github.com/posener/goaction ) to
4+ download binaries from GitHub releases and make them available for use in later
5+ steps.
Original file line number Diff line number Diff line change 1+ package main
2+
3+ import (
4+ "flag"
5+ "log"
6+ )
7+
8+ var who = flag .String ("who" , "world" , "Say hello to who" )
9+
10+ func main () {
11+ flag .Parse ()
12+ log .Println ("Hello," , * who )
13+ }
You can’t perform that action at this time.
0 commit comments