Skip to content

Commit

Permalink
Update go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xumng123 authored May 14, 2021
1 parent d35480f commit f855491
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
#release:
# types: [published]
push:
branches: [ master ]
# branches: [ master ]
# tags:
# - 'v*'

Expand Down Expand Up @@ -39,15 +39,15 @@ jobs:
- name: Build
#if: startsWith(github.ref, 'refs/tags/')
if: startsWith(github.ref, 'refs/tags/')
env:
NAME: clash
BINDIR: bin
run: make -j releases

- name: Upload Release
uses: softprops/action-gh-release@v1
#if: startsWith(github.ref, 'refs/tags/')
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down

0 comments on commit f855491

Please sign in to comment.