From e4b8fc1a5c0314b30605c59d790f9d03a09b6930 Mon Sep 17 00:00:00 2001 From: Takamitsu Endo Date: Wed, 14 Feb 2024 06:37:58 +0900 Subject: [PATCH] Fix CI --- .github/workflows/build.yml | 12 ++++++------ ci/ci_windows.ps1 | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 75dbbc9..d838c4b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,14 +11,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive - name: Run script run: ci/ci_ubuntu.sh - name: Upload # if: ${{ startsWith(github.ref, 'refs/tags/') }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: plugins_ubuntu path: plugins_ubuntu @@ -27,14 +27,14 @@ jobs: runs-on: windows-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive - name: Run script run: ci/ci_windows.ps1 - name: Upload # if: ${{ startsWith(github.ref, 'refs/tags/') }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: plugins_windows path: plugins_windows @@ -43,14 +43,14 @@ jobs: runs-on: macos-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive - name: Run script run: ci/ci_macOS.sh - name: Upload # if: ${{ startsWith(github.ref, 'refs/tags/') }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: plugins_macOS path: plugins_macOS diff --git a/ci/ci_windows.ps1 b/ci/ci_windows.ps1 index c98deb7..58f92c4 100755 --- a/ci/ci_windows.ps1 +++ b/ci/ci_windows.ps1 @@ -28,7 +28,7 @@ Get-ChildItem -Path "$SRC_ROOT\build" -Filter "*_artefacts" | ForEach-Object { $PLUGIN_DIR = "$($_.FullName)\Release" Get-ChildItem -Path $PLUGIN_DIR -Include @("*.lib", "*.exp") -Recurse | Remove-Item -Force - Move-Item -Path "$PLUGIN_DIR\*" -Destination $ARTIFACT_DIR -Force + Copy-Item -Path "$PLUGIN_DIR\*" -Destination $ARTIFACT_DIR -Force } tree /A /F $ARTIFACT_DIR # debug