Skip to content

Commit 07de08e

Browse files
authored
Update client.yml
1 parent df262a0 commit 07de08e

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/client.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@ on:
1616
tags:
1717
- '*'
1818

19+
permissions:
20+
contents: write
21+
1922
jobs:
2023
build_client:
2124
runs-on: windows-latest
22-
permissions:
23-
contents: read
2425
steps:
2526
- name: Checkout code
2627
uses: actions/checkout@v4
@@ -41,7 +42,7 @@ jobs:
4142
uses: actions/upload-artifact@v4
4243
with:
4344
name: "allmusic_client"
44-
path: client/build/
45+
path: build/
4546
- name: Create Pre-release and Upload Assets
4647
if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, 'debug')
4748
uses: softprops/action-gh-release@v1
@@ -51,6 +52,6 @@ jobs:
5152
name: "Pre-release ${{ github.ref_name }}"
5253
body: "自动构建的预发布版本"
5354
files: |
54-
client/build/*.jar
55+
build/*.jar
5556
env:
5657
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)