diff --git a/.github/workflows/integration-tests-pr.yml b/.github/workflows/integration-tests-pr.yml index 0768315a1f..90aa16b6c1 100644 --- a/.github/workflows/integration-tests-pr.yml +++ b/.github/workflows/integration-tests-pr.yml @@ -82,7 +82,7 @@ jobs: run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o piper -tags release - name: Upload Piper binary if: success() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: piper path: piper @@ -110,7 +110,7 @@ jobs: echo "matrix=$(go run .github/workflows/parse_integration_test_list.go -file ./integration/github_actions_integration_test_list.yml)" >> "$GITHUB_OUTPUT" - name: Upload integration tests binary if: success() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: integration_tests path: integration_tests @@ -134,11 +134,11 @@ jobs: with: go-version: ${{ needs.start.outputs.go_version }} - name: Download Piper binary - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: piper - name: Download integration tests binary - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: integration_tests path: ./integration/ diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 82adb66867..edefc99b80 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -53,7 +53,7 @@ jobs: run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o piper -tags release - name: Upload Piper binary if: success() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: piper path: piper @@ -82,7 +82,7 @@ jobs: echo "matrix=$(go run .github/workflows/parse_integration_test_list.go -file ./integration/github_actions_integration_test_list.yml)" >> "$GITHUB_OUTPUT" - name: Upload integration tests binary if: success() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: integration_tests path: integration_tests @@ -106,11 +106,11 @@ jobs: with: go-version: ${{ needs.start.outputs.go_version }} - name: Download Piper binary - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: piper - name: Download integration tests binary - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: integration_tests path: ./integration/