diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c73b9882..71bd1c90 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -110,12 +110,12 @@ jobs: cd "$RESOURCE_DIR" || exit 1 ls -l "$RESOURCE_DIR" echo "MAA_CORE_DIR=$MAA_CORE_DIR" >> $GITHUB_ENV - - name: Setup PATH - if: matrix.os == 'windows-latest' - shell: - pwsh - run: | - "$env:MAA_CORE_DIR" | Out-File -FilePath $env:GITHUB_PATH -Append + # - name: Setup PATH + # if: matrix.os == 'windows-latest' + # shell: + # pwsh + # run: | + # "$env:MAA_CORE_DIR" | Out-File -FilePath $env:GITHUB_PATH -Append - name: Try run with MaaCore if: matrix.arch == 'x86_64' env: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d5846d2c..2317b3ac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -116,7 +116,7 @@ jobs: uses: actions/upload-artifact@v3 with: name: maa_cli-${{ env.CARGO_BUILD_TARGET }} - path: target/$CARGO_BUILD_TARGET/release/*.tar + path: target/${{ env.CARGO_BUILD_TARGET }}/release/*.tar retention-days: 1 build-universal: