Merge pull request #596 from Loyalsoldier/refine-workflow

Refine workflow
This commit is contained in:
Richard Chen 2020-07-12 11:41:29 +08:00 committed by GitHub
commit ad902d31cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,10 +12,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Setup Go 1.14 - name: Setup Go 1.x.y
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: 1.14 go-version: "^1.14.4"
- name: Set $GOPATH and more variables - name: Set $GOPATH and more variables
run: | run: |
@ -41,8 +41,8 @@ jobs:
- name: Git push assets to "release" branch - name: Git push assets to "release" branch
run: | run: |
git init git init
git config --local user.name "${{ github.actor }}" git config --local user.name "actions"
git config --local user.email "${{ github.actor }}@users.noreply.github.com" git config --local user.email "action@github.com"
git checkout -b release git checkout -b release
git add dlc.dat dlc.dat.sha256sum git add dlc.dat dlc.dat.sha256sum
git commit -m "${{ env.RELEASE_NAME }}" git commit -m "${{ env.RELEASE_NAME }}"