From f20010b1312236f16fa3b36d44866d2f9dcce2bd Mon Sep 17 00:00:00 2001 From: Adam Shannon Date: Fri, 27 Sep 2024 09:31:32 -0500 Subject: [PATCH] build: update upload/download actions --- .github/workflows/go.yml | 2 +- .github/workflows/release.yml | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 68940f4..08d8363 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -46,7 +46,7 @@ jobs: if: runner.os != 'Linux' run: go test ./... -count 1 -short - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 if: ${{ always() }} with: name: "go-tooling-reports.zip" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 61cae39..ca7e96e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -53,10 +53,11 @@ jobs: run: echo "${{ steps.create_release.outputs.upload_url }}" > release_url.txt - name: Save Release URL File for publish - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: release_url path: release_url.txt + retention-days: 1 publish: name: Publish @@ -76,9 +77,11 @@ jobs: uses: actions/checkout@v2 - name: Load Release URL File from release job - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v4 with: name: release_url + path: release_url + retention-days: 1 - name: Install run: make install