From e13c3d2c4c134f8cfea7d16a36b80e08231b1135 Mon Sep 17 00:00:00 2001 From: Simeon Widdis Date: Wed, 4 Dec 2024 12:27:15 -0800 Subject: [PATCH] Update update-artifact versions while we're at it Signed-off-by: Simeon Widdis --- .github/workflows/bi-connectors.yml | 4 ++-- .../sql-cli-test-and-build-workflow.yml | 2 +- .../sql-jdbc-test-and-build-workflow.yml | 2 +- .github/workflows/sql-odbc-main.yml | 20 +++++++++---------- .../workflows/sql-test-and-build-workflow.yml | 4 ++-- .github/workflows/sql-test-workflow.yml | 2 +- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/bi-connectors.yml b/.github/workflows/bi-connectors.yml index d55e7bab45..f951b1cb02 100644 --- a/.github/workflows/bi-connectors.yml +++ b/.github/workflows/bi-connectors.yml @@ -43,13 +43,13 @@ jobs: working-directory: bi-connectors/PowerBIConnector - name: Upload Tableau JDBC connector if: steps.pack-tableau-jdbc.outcome == 'success' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: TableauConnectors path: bi-connectors/TableauConnector/opensearch_sql_jdbc/opensearch_sql_jdbc.taco - name: Upload Power BI ODBC connectors if: steps.pack-powerbi-odbc-os-proj.outcome == 'success' || (steps.prep-powerbi-odbc-amz-os-svc.outcome == 'success' && steps.pack-powerbi-odbc-amz-os-svc.outcome == 'success') - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: PBIConnectors path: 'bi-connectors/PowerBIConnector/*.mez' diff --git a/.github/workflows/sql-cli-test-and-build-workflow.yml b/.github/workflows/sql-cli-test-and-build-workflow.yml index 9a8f5052a1..9abd7ac222 100644 --- a/.github/workflows/sql-cli-test-and-build-workflow.yml +++ b/.github/workflows/sql-cli-test-and-build-workflow.yml @@ -59,7 +59,7 @@ jobs: cp -r ./dist/*.tar.gz ./dist/*.whl opensearchsql-builds/ - name: Upload Artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: opensearchsql path: sql-cli/opensearchsql-builds diff --git a/.github/workflows/sql-jdbc-test-and-build-workflow.yml b/.github/workflows/sql-jdbc-test-and-build-workflow.yml index a1190bf331..1bda1ee7db 100644 --- a/.github/workflows/sql-jdbc-test-and-build-workflow.yml +++ b/.github/workflows/sql-jdbc-test-and-build-workflow.yml @@ -39,7 +39,7 @@ jobs: cp ./build/libs/*.jar sql-jdbc-builds - name: Upload Artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: sql-jdbc path: sql-jdbc/sql-jdbc-builds \ No newline at end of file diff --git a/.github/workflows/sql-odbc-main.yml b/.github/workflows/sql-odbc-main.yml index 5ebfcf4dc3..af21250454 100644 --- a/.github/workflows/sql-odbc-main.yml +++ b/.github/workflows/sql-odbc-main.yml @@ -33,7 +33,7 @@ jobs: sh run_cppcheck.sh - name: upload-cppcheck-results if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: cppcheck-results path: sql-odbc/cppcheck-results.log @@ -71,19 +71,19 @@ jobs: # cp ./bin64/*.log test-output - name: upload-build if: success() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: mac64-build path: sql-odbc/build-output - name: upload-installer if: success() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: mac64-installer path: sql-odbc/installer #- name: upload-test-results # if: always() - # uses: actions/upload-artifact@v3 + # uses: actions/upload-artifact@v4 # with: # name: mac-test-results # path: test-output @@ -116,19 +116,19 @@ jobs: .\scripts\prepare_ci_output.ps1 $Env:ODBC_BIN_PATH $Env:ODBC_LIB_PATH $Env:ODBC_BUILD_PATH - name: upload-build if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: windows32-build path: sql-odbc/ci-output/build - name: upload-installer if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: windows32-installer path: sql-odbc/ci-output/installer #- name: upload-test-results # if: always() - # uses: actions/upload-artifact@v3 + # uses: actions/upload-artifact@v4 # with: # name: windows-test-results # path: $CI_OUTPUT_PATH/test @@ -161,19 +161,19 @@ jobs: .\scripts\prepare_ci_output.ps1 $Env:ODBC_BIN_PATH $Env:ODBC_LIB_PATH $Env:ODBC_BUILD_PATH - name: upload-build if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: windows64-build path: sql-odbc/ci-output/build - name: upload-installer if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: windows64-installer path: sql-odbc/ci-output/installer #- name: upload-test-results # if: always() - # uses: actions/upload-artifact@v3 + # uses: actions/upload-artifact@v4 # with: # name: windows-test-results # path: sql-odbc/ci-output/test-output diff --git a/.github/workflows/sql-test-and-build-workflow.yml b/.github/workflows/sql-test-and-build-workflow.yml index 31d168d33b..731771fb0d 100644 --- a/.github/workflows/sql-test-and-build-workflow.yml +++ b/.github/workflows/sql-test-and-build-workflow.yml @@ -64,14 +64,14 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} - name: Upload Artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: opensearch-sql-${{ matrix.entry.os }} path: opensearch-sql-builds - name: Upload test reports if: ${{ always() && matrix.entry.os == 'ubuntu-latest' }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: test-reports path: | diff --git a/.github/workflows/sql-test-workflow.yml b/.github/workflows/sql-test-workflow.yml index 150d5be7dc..c0899d3419 100644 --- a/.github/workflows/sql-test-workflow.yml +++ b/.github/workflows/sql-test-workflow.yml @@ -80,7 +80,7 @@ jobs: - name: Upload test reports if: always() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: test-reports path: |