summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKslr <[email protected]>2020-07-12 16:10:17 +0800
committerGitHub <[email protected]>2020-07-12 16:10:17 +0800
commitc6399f45e236e551dc720fa3f5404f8fe3dcf805 (patch)
treebcb60d4ef46a858ed953a13cb15f91455b20ca78
parenta091ea6ed11ac97756bcced87ac38c0d31be42a9 (diff)
parentafe063e681b27899d5e6192750acfb6215d40390 (diff)
Merge pull request #24 from Loyalsoldier/refine-workflow
Refine workflow
-rw-r--r--.github/workflows/go.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index 05ab2aa7..757f982b 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -13,10 +13,10 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- - name: Set up Go 1.14
+ - name: Set up Go 1.x.y
uses: actions/setup-go@v2
with:
- go-version: 1.14
+ go-version: "^1.14.4"
- name: Set $GOPATH and release variables
run: |
@@ -46,8 +46,8 @@ jobs:
- name: Git push assets to "release" branch
run: |
git init
- git config --local user.name "${{ github.actor }}"
- git config --local user.email "${{ github.actor }}@users.noreply.github.com"
+ git config --local user.name "actions"
+ git config --local user.email "[email protected]"
git checkout -b release
git add geoip.dat geoip.dat.sha256sum
git commit -m "${{ env.RELEASE_NAME }}"