Skip to content

Commit

Permalink
版本发布改为手动执行
Browse files Browse the repository at this point in the history
  • Loading branch information
纯真Ccc committed Aug 9, 2021
1 parent 048cee4 commit 5e82e4d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Go

on:
workflow_dispatch:
inputs:
releaseVersion:
description: 'version on release'
required: false
push:
branches: [ master ]
pull_request:
Expand All @@ -22,7 +27,7 @@ jobs:
run: mkdir release|| go build -v ./... -o ./release/tidy-files-script-linux-64

- name: Create a Release
# if: ${{ env.RELEASE_VERSION != '' }}
if: ${{ github.event.inputs.releaseVersion != '' }}
uses: elgohr/Github-Release-Action@main
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
Expand Down

0 comments on commit 5e82e4d

Please sign in to comment.