diff --git a/.github/workflows/build-artifacts.yml b/.github/workflows/build-artifacts.yml index 05733cb..a12b0a6 100644 --- a/.github/workflows/build-artifacts.yml +++ b/.github/workflows/build-artifacts.yml @@ -85,7 +85,7 @@ jobs: run: ${{ env.BUILD_COMMAND }} - name: Upload artifacts - java if: env.LANGUAGE == 'java' && success() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ env.ARTIFACT_NAME }}-${{ env.LANGUAGE }}-${{ matrix.architecture }}-artifacts path: ${{ env.LANGUAGE }}/${{ env.ARTIFACT_ARCHIVE_BASE_NAME }}-${{ matrix.architecture }}.zip @@ -97,14 +97,14 @@ jobs: opentelemetry-lambda/${{ env.LANGUAGE }}/sample-apps/aws-sdk/build/libs/java-sample-app.jar - name: Upload artifacts - java sample-app if: env.LANGUAGE == 'java' && success() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: sample-app-${{ env.LANGUAGE }}-${{ matrix.architecture }}-artifacts path: opentelemetry-lambda/${{ env.LANGUAGE }}/sample-apps/aws-sdk/build/libs/java-sample-app.jar if-no-files-found: error - name: Upload artifacts - nodejs if: env.LANGUAGE == 'nodejs' && success() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ env.ARTIFACT_NAME }}-${{ env.LANGUAGE }}-${{ matrix.architecture }}-artifacts path: ${{ env.LANGUAGE }}/${{ env.ARTIFACT_ARCHIVE_BASE_NAME }}-${{ matrix.architecture }}.zip @@ -116,14 +116,14 @@ jobs: opentelemetry-lambda/${{ env.LANGUAGE }}/sample-apps/aws-sdk/build/nodejs-sample-app.zip - name: Upload artifacts - nodejs sample-app if: env.LANGUAGE == 'nodejs' && success() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: sample-app-${{ env.LANGUAGE }}-${{ matrix.architecture }}-artifacts path: opentelemetry-lambda/${{ env.LANGUAGE }}/sample-apps/aws-sdk/build/nodejs-sample-app.zip if-no-files-found: error - name: Upload artifacts - python layer if: env.LANGUAGE == 'python' && success() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ env.ARTIFACT_NAME }}-${{ env.LANGUAGE }}-${{ matrix.architecture }}-artifacts path: ${{ env.LANGUAGE }}/${{ env.ARTIFACT_ARCHIVE_BASE_NAME }}-${{ matrix.architecture }}.zip @@ -135,7 +135,7 @@ jobs: opentelemetry-lambda/${{ env.LANGUAGE }}/sample-apps/build/python-sample-app.zip - name: Upload artifacts - python sample-app if: env.LANGUAGE == 'python' && success() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: sample-app-${{ env.LANGUAGE }}-${{ matrix.architecture }}-artifacts path: opentelemetry-lambda/${{ env.LANGUAGE }}/sample-apps/build/python-sample-app.zip diff --git a/.github/workflows/publish-release-layer.yml b/.github/workflows/publish-release-layer.yml index 1f8854e..247f0fd 100644 --- a/.github/workflows/publish-release-layer.yml +++ b/.github/workflows/publish-release-layer.yml @@ -102,7 +102,7 @@ jobs: echo "| ${{ matrix.aws_region }} | $LAYER_ARN |" > layer-arn-${{ matrix.architecture }}-${{ matrix.aws_region }} - name: Upload Layer ARN if: success() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ env.ARTIFACT_NAME }}-${{ env.LANGUAGE }}-${{ matrix.architecture }}-layer-arns-artifact path: layer-arn-${{ matrix.architecture }}-${{ matrix.aws_region }}