We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df262a0 commit 07de08eCopy full SHA for 07de08e
1 file changed
.github/workflows/client.yml
@@ -16,11 +16,12 @@ on:
16
tags:
17
- '*'
18
19
+permissions:
20
+ contents: write
21
+
22
jobs:
23
build_client:
24
runs-on: windows-latest
- permissions:
- contents: read
25
steps:
26
- name: Checkout code
27
uses: actions/checkout@v4
@@ -41,7 +42,7 @@ jobs:
41
42
uses: actions/upload-artifact@v4
43
with:
44
name: "allmusic_client"
- path: client/build/
45
+ path: build/
46
- name: Create Pre-release and Upload Assets
47
if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, 'debug')
48
uses: softprops/action-gh-release@v1
@@ -51,6 +52,6 @@ jobs:
51
52
name: "Pre-release ${{ github.ref_name }}"
53
body: "自动构建的预发布版本"
54
files: |
- client/build/*.jar
55
+ build/*.jar
56
env:
57
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments