From 85b1c0d895e863d9ffcc695d39e62c434448cf29 Mon Sep 17 00:00:00 2001 From: Mike Alfare <13974384+mikealfare@users.noreply.github.com> Date: Sat, 1 Feb 2025 21:34:49 -0500 Subject: [PATCH] [Backport 1.7.latest] Bump upload-artifact and download-artifact (#1307) * Bump actions/upload-artifact from 3 to 4 (#971) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * Add automated changelog yaml from template for bot PR * add overwrite parameter which was implicitly true in v3 but false in v4 --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Github Build Bot Co-authored-by: Mike Alfare <13974384+mikealfare@users.noreply.github.com> Co-authored-by: Mike Alfare (cherry picked from commit e78e1748ff07276b951cdb8fbec56dfb3f6930b8) * Bump actions/download-artifact from 3 to 4 (#1007) Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * Add automated changelog yaml from template for bot PR --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Github Build Bot Co-authored-by: Mike Alfare <13974384+mikealfare@users.noreply.github.com> (cherry picked from commit 8a63b85e678cc971da2c26525d1e00eb2056e376) --------- Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .changes/unreleased/Dependencies-20240412-155921.yaml | 6 ++++++ .changes/unreleased/Dependencies-20240429-124044.yaml | 6 ++++++ .github/workflows/integration.yml | 6 ++++-- .github/workflows/main.yml | 8 +++++--- 4 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 .changes/unreleased/Dependencies-20240412-155921.yaml create mode 100644 .changes/unreleased/Dependencies-20240429-124044.yaml diff --git a/.changes/unreleased/Dependencies-20240412-155921.yaml b/.changes/unreleased/Dependencies-20240412-155921.yaml new file mode 100644 index 000000000..f83e5b404 --- /dev/null +++ b/.changes/unreleased/Dependencies-20240412-155921.yaml @@ -0,0 +1,6 @@ +kind: "Dependencies" +body: "Bump actions/upload-artifact from 3 to 4" +time: 2024-04-12T15:59:21.00000Z +custom: + Author: dependabot[bot] + PR: 971 diff --git a/.changes/unreleased/Dependencies-20240429-124044.yaml b/.changes/unreleased/Dependencies-20240429-124044.yaml new file mode 100644 index 000000000..834fce096 --- /dev/null +++ b/.changes/unreleased/Dependencies-20240429-124044.yaml @@ -0,0 +1,6 @@ +kind: "Dependencies" +body: "Bump actions/download-artifact from 3 to 4" +time: 2024-04-29T12:40:44.00000Z +custom: + Author: dependabot[bot] + PR: 1007 diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 698982c0f..f6e781712 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -190,22 +190,24 @@ jobs: DBT_TEST_USER_3: dbt_test_role_3 run: tox -- --ddtrace - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: logs path: ./logs + overwrite: true - name: Get current date if: always() id: date run: echo "date=$(date +'%Y-%m-%dT%H_%M_%S')" >> $GITHUB_OUTPUT #no colons allowed for artifacts - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: integration_results_${{ matrix.python-version }}_${{ matrix.os }}_${{ matrix.adapter }}-${{ steps.date.outputs.date }}.csv path: integration_results.csv + overwrite: true require-label-comment: runs-on: ubuntu-latest diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7c0f38981..ab10598f2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -104,11 +104,12 @@ jobs: id: date run: echo "date=$(date +'%Y-%m-%dT%H_%M_%S')" >> $GITHUB_OUTPUT #no colons allowed for artifacts - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: unit_results_${{ matrix.python-version }}-${{ steps.date.outputs.date }}.csv path: unit_results.csv + overwrite: true build: name: build packages @@ -156,10 +157,11 @@ jobs: if [[ "$(ls -lh dist/)" == *"a1"* ]]; then export is_alpha=1; fi echo "is_alpha=$is_alpha" >> $GITHUB_OUTPUT - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: dist path: dist/ + overwrite: true test-build: name: verify packages / python ${{ matrix.python-version }} / ${{ matrix.os }} @@ -188,7 +190,7 @@ jobs: python -m pip install --upgrade wheel python -m pip --version - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: dist path: dist/