diff --git a/.github/workflows/rcc.yaml b/.github/workflows/rcc.yaml index b82fd2ee..b7ab2eba 100644 --- a/.github/workflows/rcc.yaml +++ b/.github/workflows/rcc.yaml @@ -60,7 +60,8 @@ jobs: path: build key: rcc-${{ env.RCC_TAG }}-${{ env.GO_VERSION }}-${{ env.RUBY_VERSION }} fail-on-cache-miss: true - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: path: build if-no-files-found: error + overwrite: true diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6bfbf17e..5f5e96bc 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -24,6 +24,6 @@ jobs: # release. For setting a different ref, all `needs` jobs need to be # adjusted. Currently, everything uses the default branch. - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 - run: zip -r executables.zip artifact diff --git a/.github/workflows/robotmk_build.yaml b/.github/workflows/robotmk_build.yaml index 81fd2247..1c0b91ca 100644 --- a/.github/workflows/robotmk_build.yaml +++ b/.github/workflows/robotmk_build.yaml @@ -17,9 +17,12 @@ jobs: - run: cargo build --target=x86_64-pc-windows-gnu --release - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: - path: | - ${{ github.workspace }}/target/x86_64-pc-windows-gnu/release/robotmk_scheduler.exe - ${{ github.workspace }}/target/x86_64-pc-windows-gnu/release/robotmk_agent_plugin.exe + path: ${{ github.workspace }}/target/x86_64-pc-windows-gnu/release/robotmk_scheduler.exe + if-no-files-found: error + + - uses: actions/upload-artifact@v4 + with: + path: ${{ github.workspace }}/target/x86_64-pc-windows-gnu/release/robotmk_agent_plugin.exe if-no-files-found: error diff --git a/.github/workflows/system_tests.yaml b/.github/workflows/system_tests.yaml index d9ebc55e..172ac89a 100644 --- a/.github/workflows/system_tests.yaml +++ b/.github/workflows/system_tests.yaml @@ -13,7 +13,7 @@ jobs: needs: - rcc steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: path: C:\ - uses: actions/checkout@v4 @@ -25,6 +25,7 @@ jobs: TEST_DIR: C:\test_scheduler RCC_BINARY_PATH: C:\artifact\windows64\rcc.exe RUN_FOR: 240 - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: path: C:\test_scheduler + overwrite: true