You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- name: Check out code into the Go module directory
21
+
uses: actions/checkout@v2
22
+
23
+
- name: Get dependencies
24
+
run: |
25
+
go get -v -t -d ./...
26
+
if [ -f Gopkg.toml ]; then
27
+
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
28
+
dep ensure
29
+
fi
30
+
31
+
- name: Build
32
+
run: go build -o ./dist/app -v ./app
33
+
34
+
- name: Update Release
35
+
uses: johnwbyrd/update-release@v1.0.0
36
+
with:
37
+
# Your Github token; try \$\{\{ secrets.GITHUB_TOKEN \}\} if your build lasts less than an hour, or create your own secret token with repository access if your build requires longer than an hour.
38
+
token: ${{ secrets.GITHUB_TOKEN }}
39
+
# Paths to built files to be released. May be absolute or relative to \$\{\{ github.workspace \}\}.
40
+
files: ./dist/app
41
+
# The name of the release to be created. A reasonable looking release name will be created from the current \$\{\{ github.ref \}\} if this input is not supplied.
42
+
release: continuous
43
+
message: # optional
44
+
# Should the release, if created, be marked as a prerelease? Such releases are generally publicly visible.
0 commit comments