Skip to content

Commit 7f5a4ed

Browse files
committed
ci: add github workflow7
1 parent 33f39d0 commit 7f5a4ed

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010

1111
jobs:
1212
build:
13+
name: Build Plugin
1314
runs-on: ubuntu-latest
1415
steps:
1516
- name: checkout repo
@@ -50,7 +51,7 @@ jobs:
5051
if: startsWith(github.ref, 'refs/tags/')
5152
uses: ncipollo/release-action@v1
5253
with:
53-
token: ${{ secrets.AnyBlockPro_Repo }}
54+
token: ${{ secrets.Your_token_secrets_name }} # GitHub Token,不填报错: `Error: Error undefined: Parameter token or opts.auth is required`
5455
name: 'Release ${{ github.ref_name }}'
5556
body: 'Release for tag ${{ github.ref_name }}'
5657
artifacts: |

0 commit comments

Comments
 (0)