diff --git a/.github/workflows/mirrorchyan.yml b/.github/workflows/mirrorchyan.yml index 3854aa6636..cfd8a12fe9 100644 --- a/.github/workflows/mirrorchyan.yml +++ b/.github/workflows/mirrorchyan.yml @@ -15,15 +15,20 @@ jobs: arch: [arm64, x64] steps: - # 下载 Release 包 + - id: version + uses: pozetroninc/github-action-get-latest-release@master + with: + owner: MaaAssistantArknights + repo: MaaAssistantArknights + token: ${{ secrets.GITHUB_TOKEN }} + - name: Download Release uses: robinraju/release-downloader@v1 id: download with: repository: MaaAssistantArknights/MaaAssistantArknights fileName: "*MAA-*-${{ matrix.os }}-${{ matrix.arch }}.zip" - latest: true - preRelease: true + tag: ${{ steps.version.outputs.release }} out-file-path: "downloads" extract: false