From 07de08e1fefb338d9dfe41984e85ccf6cf6bce57 Mon Sep 17 00:00:00 2001 From: Color_yr <402067010@qq.com> Date: Mon, 8 Jun 2026 15:27:48 +0800 Subject: [PATCH] Update client.yml --- .github/workflows/client.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/client.yml b/.github/workflows/client.yml index e9cbb86a..24a405f1 100644 --- a/.github/workflows/client.yml +++ b/.github/workflows/client.yml @@ -16,11 +16,12 @@ on: tags: - '*' +permissions: + contents: write + jobs: build_client: runs-on: windows-latest - permissions: - contents: read steps: - name: Checkout code uses: actions/checkout@v4 @@ -41,7 +42,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: "allmusic_client" - path: client/build/ + path: build/ - name: Create Pre-release and Upload Assets if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, 'debug') uses: softprops/action-gh-release@v1 @@ -51,6 +52,6 @@ jobs: name: "Pre-release ${{ github.ref_name }}" body: "自动构建的预发布版本" files: | - client/build/*.jar + build/*.jar env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}