From 045f0204a9d82152504d46a9bb1a0629d5f2b01e Mon Sep 17 00:00:00 2001 From: Eritque arcus Date: Fri, 20 May 2022 18:22:47 +0800 Subject: [PATCH] fix: incorrect CI path Former-commit-id: 6a084ae0900d646f757f87bf7cb8633cedb748fa --- .github/workflows/releases.yml | 2 +- .github/workflows/tempRelease.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index 12df98685..6413d2872 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -121,7 +121,7 @@ jobs: - name: Create Release uses: ncipollo/release-action@v1.8.6 with: - artifacts: ./kotlin/loader/build/libs/MiraiCP-loader-*.jar,./kotlin/plugin/build/libs/MiraiCP-plugin-*.mirai2.jar,./kotlin/core/build/libs/MiraiCP-core-*.jar + artifacts: ./kotlin/loader/build/libs/MiraiCP-loader-*.jar,./kotlin/plugin/build/mirai/MiraiCP-plugin-*.mirai2.jar,./kotlin/core/build/libs/MiraiCP-core-*.jar bodyfile: release.log tag: ${{ github.event.inputs.v }} token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/tempRelease.yml b/.github/workflows/tempRelease.yml index 6dc4d0889..1eb6a6f29 100644 --- a/.github/workflows/tempRelease.yml +++ b/.github/workflows/tempRelease.yml @@ -75,7 +75,7 @@ jobs: - name: moveCPP run: rm -rf ./tr/${{ github.event.inputs.v }} && mkdir ./tr/${{ github.event.inputs.v }} && mv "./main/cpp/src/single_include/MiraiCP/MiraiCP.hpp" ./tr/${{ github.event.inputs.v }} && mv "./main/cpp/src/single_include/MiraiCP/MiraiCP.cpp" ./tr/${{ github.event.inputs.v }} && mv "./main/cpp/src/miraicp-core/core.cpp" ./tr/${{ github.event.inputs.v }} && mv "./main/cpp/src/miraicp-core/core.h" ./tr/${{ github.event.inputs.v }} - name: moveKt - run: ls -1 ./main/kotlin/loader/build/libs/MiraiCP-loader-*.jar | xargs -L1 -I{} mv {} ./tr/${{ github.event.inputs.v }} && ls -1 ./main/kotlin/plugin/build/libs/MiraiCP-plugin-*.mirai2.jar | xargs -L1 -I{} mv {} ./tr/${{ github.event.inputs.v }} && ls -1 ./main/kotlin/core/build/libs/MiraiCP-core-*.jar | xargs -L1 -I{} mv {} ./tr/${{ github.event.inputs.v }} + run: ls -1 ./main/kotlin/loader/build/libs/MiraiCP-loader-*.jar | xargs -L1 -I{} mv {} ./tr/${{ github.event.inputs.v }} && ls -1 ./main/kotlin/plugin/build/mirai/MiraiCP-plugin-*.mirai2.jar | xargs -L1 -I{} mv {} ./tr/${{ github.event.inputs.v }} && ls -1 ./main/kotlin/core/build/libs/MiraiCP-core-*.jar | xargs -L1 -I{} mv {} ./tr/${{ github.event.inputs.v }} #name: print # run: find . | sed -e "s/[^-][^\/]*\// |/g" -e "s/|\([^ ]\)/|-\1/" - name: mv