Skip to content
This repository was archived by the owner on Apr 21, 2024. It is now read-only.

Commit be4d580

Browse files
committed
ci: 更新 Workflow 2/1
1 parent 1f058cd commit be4d580

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ on:
77
pull_request:
88
workflow_dispatch:
99

10-
permissions:
11-
contents: write
12-
discussions: write
13-
1410
jobs:
1511
build:
12+
permissions:
13+
contents: write
14+
discussions: write
15+
1616
if: github.event_name != 'pull_request'
1717
runs-on: ubuntu-latest
1818
steps:
@@ -57,9 +57,10 @@ jobs:
5757
prerelease: true
5858
files: |
5959
build/libs/*.jar
60+
6061
tag_name: ${{ steps.prop_info.outputs.release_version }}-${{ env.SHORT_SHA }}
6162
target_commitish: ${{ github.event.ref }}
62-
discussion_category_name: Announcement
63+
# discussion_category_name: Announcement
6364
generate_release_notes: true
6465
token: ${{ secrets.PUBLISH_TOKEN }}
6566

0 commit comments

Comments
 (0)