From 198c191a2eadadd52fd1acae91741670f31b50bc Mon Sep 17 00:00:00 2001 From: zhihaoguo Date: Thu, 24 Apr 2025 15:24:55 +0800 Subject: [PATCH 1/3] Update actions/upload-artifact to version 4.6.2 across multiple YAML files --- .github/workflows/buildWlsAksArtifact.yml | 2 +- .github/workflows/buildWlsVm4AsArtifact.yml | 2 +- .github/workflows/buildWlsVm4CcArtifact.yml | 2 +- .github/workflows/buildWlsVm4DcArtifact.yml | 2 +- .github/workflows/buildWlsVm4SnArtifact.yml | 2 +- .github/workflows/setupWlsAksDependency.yml | 2 +- .github/workflows/testWlsAksWithDependencyCreation.yml | 4 ++-- .github/workflows/testWlsAksWithoutDependencyCreation.yml | 4 ++-- .github/workflows/testWlsVmAdmin.yml | 4 ++-- .github/workflows/testWlsVmCluster.yml | 4 ++-- .github/workflows/testWlsVmDynamicCluster.yml | 4 ++-- 11 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/buildWlsAksArtifact.yml b/.github/workflows/buildWlsAksArtifact.yml index fe14bc687..d40dfdb2b 100644 --- a/.github/workflows/buildWlsAksArtifact.yml +++ b/.github/workflows/buildWlsAksArtifact.yml @@ -52,7 +52,7 @@ jobs: echo "##[set-output name=artifactName;]${artifactName}" echo "##[set-output name=artifactPath;]weblogic-azure/weblogic-azure-aks/target/$artifactName" - name: Archive weblogic-azure/weblogic-azure-aks template - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 if: success() with: name: ${{steps.artifact_file.outputs.artifactName}} diff --git a/.github/workflows/buildWlsVm4AsArtifact.yml b/.github/workflows/buildWlsVm4AsArtifact.yml index e66c1bfea..de97f9c78 100644 --- a/.github/workflows/buildWlsVm4AsArtifact.yml +++ b/.github/workflows/buildWlsVm4AsArtifact.yml @@ -94,7 +94,7 @@ jobs: echo "##[set-output name=artifactName;]${artifactName}-${{ env.pidType }}" echo "##[set-output name=artifactPath;]${{env.repoName}}/weblogic-azure-vm/${{ env.offerName }}/target/$artifactName" - name: Archive ${{ env.offerName }} template - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 if: success() with: name: ${{steps.artifact_file.outputs.artifactName}} diff --git a/.github/workflows/buildWlsVm4CcArtifact.yml b/.github/workflows/buildWlsVm4CcArtifact.yml index 51007c65a..e04c36e4e 100644 --- a/.github/workflows/buildWlsVm4CcArtifact.yml +++ b/.github/workflows/buildWlsVm4CcArtifact.yml @@ -92,7 +92,7 @@ jobs: echo "##[set-output name=artifactName;]${artifactName}-${{ env.pidType }}" echo "##[set-output name=artifactPath;]${{env.repoName}}/weblogic-azure-vm/${{ env.offerName }}/${{ env.offerName }}/target/$artifactName" - name: Archive ${{ env.offerName }} template - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 if: success() with: name: ${{steps.artifact_file.outputs.artifactName}} diff --git a/.github/workflows/buildWlsVm4DcArtifact.yml b/.github/workflows/buildWlsVm4DcArtifact.yml index 7f5c68373..f9144bff6 100644 --- a/.github/workflows/buildWlsVm4DcArtifact.yml +++ b/.github/workflows/buildWlsVm4DcArtifact.yml @@ -90,7 +90,7 @@ jobs: echo "##[set-output name=artifactName;]${artifactName}-${{ env.pidType }}" echo "##[set-output name=artifactPath;]${{env.repoName}}/weblogic-azure-vm/${{ env.offerName }}/${{ env.offerName }}/target/$artifactName" - name: Archive ${{ env.offerName }} template - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 if: success() with: name: ${{steps.artifact_file.outputs.artifactName}} diff --git a/.github/workflows/buildWlsVm4SnArtifact.yml b/.github/workflows/buildWlsVm4SnArtifact.yml index bf8531b86..243824d42 100644 --- a/.github/workflows/buildWlsVm4SnArtifact.yml +++ b/.github/workflows/buildWlsVm4SnArtifact.yml @@ -86,7 +86,7 @@ jobs: echo "##[set-output name=artifactName;]${artifactName}-${{ env.pidType }}" echo "##[set-output name=artifactPath;]${{env.repoName}}/weblogic-azure-vm/${{ env.offerName }}/target/$artifactName" - name: Archive ${{ env.offerName }} template - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 if: success() with: name: ${{steps.artifact_file.outputs.artifactName}} diff --git a/.github/workflows/setupWlsAksDependency.yml b/.github/workflows/setupWlsAksDependency.yml index 1d21e1f15..72f87d3d4 100644 --- a/.github/workflows/setupWlsAksDependency.yml +++ b/.github/workflows/setupWlsAksDependency.yml @@ -101,7 +101,7 @@ jobs: {"event_type": "aks-integration-test-without-dependency-creation", "client_payload": {"gitUserNameForArtifactsLocation": "${{ github.repository_owner }}", "testBranchNameForArtifactsLocation": "${{ github.ref }}", "isForDemo": "false", "disambiguationSuffix": "${{ github.run_id }}", "storageAccountName": "${{ env.storageAccountName }}", "storageContainerName": "${{ env.storageContainerName }}", "dbName": "${{ env.dbName }}"}} EOF - name: Archive integration-test-data.txt - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 if: success() with: name: integration-test-data diff --git a/.github/workflows/testWlsAksWithDependencyCreation.yml b/.github/workflows/testWlsAksWithDependencyCreation.yml index 4c06db9d6..6868151dc 100644 --- a/.github/workflows/testWlsAksWithDependencyCreation.yml +++ b/.github/workflows/testWlsAksWithDependencyCreation.yml @@ -134,7 +134,7 @@ jobs: echo "##[set-output name=artifactName;]${artifactName}" echo "##[set-output name=artifactPath;]weblogic-azure/weblogic-azure-aks/target/$artifactName" - name: Archive weblogic-azure/weblogic-azure-aks template - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 if: success() with: name: ${{steps.artifact_file.outputs.artifactName}} @@ -240,7 +240,7 @@ jobs: with: path: weblogic-azure - name: Download artifact for deployment - uses: actions/download-artifact@v4 + uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 with: name: ${{needs.preflight.outputs.artifactName}} path: ${{needs.preflight.outputs.artifactName}} diff --git a/.github/workflows/testWlsAksWithoutDependencyCreation.yml b/.github/workflows/testWlsAksWithoutDependencyCreation.yml index 1fe5dc75a..d03b85ff6 100644 --- a/.github/workflows/testWlsAksWithoutDependencyCreation.yml +++ b/.github/workflows/testWlsAksWithoutDependencyCreation.yml @@ -154,7 +154,7 @@ jobs: echo "##[set-output name=artifactName;]${artifactName}" echo "##[set-output name=artifactPath;]weblogic-azure/weblogic-azure-aks/target/$artifactName" - name: Archive weblogic-azure/weblogic-azure-aks template - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 if: success() with: name: ${{steps.artifact_file.outputs.artifactName}} @@ -194,7 +194,7 @@ jobs: with: path: weblogic-azure - name: Download artifact for deployment - uses: actions/download-artifact@v4 + uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 with: name: ${{needs.preflight.outputs.artifactName}} path: ${{needs.preflight.outputs.artifactName}} diff --git a/.github/workflows/testWlsVmAdmin.yml b/.github/workflows/testWlsVmAdmin.yml index 005faff87..45362f17d 100644 --- a/.github/workflows/testWlsVmAdmin.yml +++ b/.github/workflows/testWlsVmAdmin.yml @@ -156,7 +156,7 @@ jobs: run: unzip ${{ env.adminOfferPath }}/target/$artifactName.zip -d ${{ env.adminOfferPath }}/target/$artifactName - name: Archive ${{ env.offerName }} template - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 if: success() with: name: ${{steps.artifact_file.outputs.artifactName}} @@ -223,7 +223,7 @@ jobs: repository: ${{env.repoOwner}}/${{env.repoName}} path: ${{env.repoName}} - name: Download artifact for deployment - uses: actions/download-artifact@v4 + uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 with: name: ${{ needs.preflight.outputs.artifactName }} path: ${{needs.preflight.outputs.artifactName}} diff --git a/.github/workflows/testWlsVmCluster.yml b/.github/workflows/testWlsVmCluster.yml index 5ec41d2cd..d1a5db176 100644 --- a/.github/workflows/testWlsVmCluster.yml +++ b/.github/workflows/testWlsVmCluster.yml @@ -136,7 +136,7 @@ jobs: echo "##[set-output name=artifactName;]${artifactName}" echo "##[set-output name=artifactPath;]${{ env.offerPath }}/${{ env.offerName }}/target/$artifactName" - name: Archive ${{ env.offerName }} template - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 if: success() with: name: ${{steps.artifact_file.outputs.artifactName}} @@ -201,7 +201,7 @@ jobs: repository: ${{env.repoOwner}}/${{env.repoName}} path: ${{env.repoName}} - name: Download artifact for deployment - uses: actions/download-artifact@v4 + uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 with: path: ${{ needs.preflight.outputs.artifactName }} name: ${{ needs.preflight.outputs.artifactName }} diff --git a/.github/workflows/testWlsVmDynamicCluster.yml b/.github/workflows/testWlsVmDynamicCluster.yml index fcca9b018..366398c94 100644 --- a/.github/workflows/testWlsVmDynamicCluster.yml +++ b/.github/workflows/testWlsVmDynamicCluster.yml @@ -131,7 +131,7 @@ jobs: echo "##[set-output name=artifactName;]${artifactName}" echo "##[set-output name=artifactPath;]${offerPath}/${{ env.offerName }}/target/$artifactName" - name: Archive ${{env.offerName}} template - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 if: success() with: name: ${{steps.artifact_file.outputs.artifactName}} @@ -201,7 +201,7 @@ jobs: repository: ${{env.repoOwner}}/${{env.repoName}} path: ${{env.repoName}} - name: Download artifact for deployment - uses: actions/download-artifact@v4 + uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 with: path: ${{needs.preflight.outputs.artifactName}} name: ${{ needs.preflight.outputs.artifactName }} From 7806c75e764cf76047a33597f94344662c2edef1 Mon Sep 17 00:00:00 2001 From: zhihaoguo Date: Mon, 28 Apr 2025 09:51:05 +0800 Subject: [PATCH 2/3] Update actions/upload-artifact to version 4.6.2 in multiple YAML files --- .github/workflows/buildWlsAksArtifact.yml | 2 +- .github/workflows/buildWlsVm4AsArtifact.yml | 2 +- .github/workflows/buildWlsVm4CcArtifact.yml | 2 +- .github/workflows/buildWlsVm4DcArtifact.yml | 2 +- .github/workflows/buildWlsVm4SnArtifact.yml | 2 +- .github/workflows/setupWlsAksDependency.yml | 2 +- .github/workflows/testWlsAksWithDependencyCreation.yml | 4 ++-- .github/workflows/testWlsAksWithoutDependencyCreation.yml | 4 ++-- .github/workflows/testWlsVmAdmin.yml | 4 ++-- .github/workflows/testWlsVmCluster.yml | 4 ++-- .github/workflows/testWlsVmDynamicCluster.yml | 4 ++-- 11 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/buildWlsAksArtifact.yml b/.github/workflows/buildWlsAksArtifact.yml index d40dfdb2b..f588b67ad 100644 --- a/.github/workflows/buildWlsAksArtifact.yml +++ b/.github/workflows/buildWlsAksArtifact.yml @@ -52,7 +52,7 @@ jobs: echo "##[set-output name=artifactName;]${artifactName}" echo "##[set-output name=artifactPath;]weblogic-azure/weblogic-azure-aks/target/$artifactName" - name: Archive weblogic-azure/weblogic-azure-aks template - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + uses: actions/upload-artifact@v4.6.2 if: success() with: name: ${{steps.artifact_file.outputs.artifactName}} diff --git a/.github/workflows/buildWlsVm4AsArtifact.yml b/.github/workflows/buildWlsVm4AsArtifact.yml index de97f9c78..98eb27346 100644 --- a/.github/workflows/buildWlsVm4AsArtifact.yml +++ b/.github/workflows/buildWlsVm4AsArtifact.yml @@ -94,7 +94,7 @@ jobs: echo "##[set-output name=artifactName;]${artifactName}-${{ env.pidType }}" echo "##[set-output name=artifactPath;]${{env.repoName}}/weblogic-azure-vm/${{ env.offerName }}/target/$artifactName" - name: Archive ${{ env.offerName }} template - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + uses: actions/upload-artifact@v4.6.2 if: success() with: name: ${{steps.artifact_file.outputs.artifactName}} diff --git a/.github/workflows/buildWlsVm4CcArtifact.yml b/.github/workflows/buildWlsVm4CcArtifact.yml index e04c36e4e..3d18b36fb 100644 --- a/.github/workflows/buildWlsVm4CcArtifact.yml +++ b/.github/workflows/buildWlsVm4CcArtifact.yml @@ -92,7 +92,7 @@ jobs: echo "##[set-output name=artifactName;]${artifactName}-${{ env.pidType }}" echo "##[set-output name=artifactPath;]${{env.repoName}}/weblogic-azure-vm/${{ env.offerName }}/${{ env.offerName }}/target/$artifactName" - name: Archive ${{ env.offerName }} template - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + uses: actions/upload-artifact@v4.6.2 if: success() with: name: ${{steps.artifact_file.outputs.artifactName}} diff --git a/.github/workflows/buildWlsVm4DcArtifact.yml b/.github/workflows/buildWlsVm4DcArtifact.yml index f9144bff6..84d92fb7f 100644 --- a/.github/workflows/buildWlsVm4DcArtifact.yml +++ b/.github/workflows/buildWlsVm4DcArtifact.yml @@ -90,7 +90,7 @@ jobs: echo "##[set-output name=artifactName;]${artifactName}-${{ env.pidType }}" echo "##[set-output name=artifactPath;]${{env.repoName}}/weblogic-azure-vm/${{ env.offerName }}/${{ env.offerName }}/target/$artifactName" - name: Archive ${{ env.offerName }} template - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + uses: actions/upload-artifact@v4.6.2 if: success() with: name: ${{steps.artifact_file.outputs.artifactName}} diff --git a/.github/workflows/buildWlsVm4SnArtifact.yml b/.github/workflows/buildWlsVm4SnArtifact.yml index 243824d42..fa76eb8ad 100644 --- a/.github/workflows/buildWlsVm4SnArtifact.yml +++ b/.github/workflows/buildWlsVm4SnArtifact.yml @@ -86,7 +86,7 @@ jobs: echo "##[set-output name=artifactName;]${artifactName}-${{ env.pidType }}" echo "##[set-output name=artifactPath;]${{env.repoName}}/weblogic-azure-vm/${{ env.offerName }}/target/$artifactName" - name: Archive ${{ env.offerName }} template - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + uses: actions/upload-artifact@v4.6.2 if: success() with: name: ${{steps.artifact_file.outputs.artifactName}} diff --git a/.github/workflows/setupWlsAksDependency.yml b/.github/workflows/setupWlsAksDependency.yml index 72f87d3d4..891520073 100644 --- a/.github/workflows/setupWlsAksDependency.yml +++ b/.github/workflows/setupWlsAksDependency.yml @@ -101,7 +101,7 @@ jobs: {"event_type": "aks-integration-test-without-dependency-creation", "client_payload": {"gitUserNameForArtifactsLocation": "${{ github.repository_owner }}", "testBranchNameForArtifactsLocation": "${{ github.ref }}", "isForDemo": "false", "disambiguationSuffix": "${{ github.run_id }}", "storageAccountName": "${{ env.storageAccountName }}", "storageContainerName": "${{ env.storageContainerName }}", "dbName": "${{ env.dbName }}"}} EOF - name: Archive integration-test-data.txt - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + uses: actions/upload-artifact@v4.6.2 if: success() with: name: integration-test-data diff --git a/.github/workflows/testWlsAksWithDependencyCreation.yml b/.github/workflows/testWlsAksWithDependencyCreation.yml index 6868151dc..8c7bde97b 100644 --- a/.github/workflows/testWlsAksWithDependencyCreation.yml +++ b/.github/workflows/testWlsAksWithDependencyCreation.yml @@ -134,7 +134,7 @@ jobs: echo "##[set-output name=artifactName;]${artifactName}" echo "##[set-output name=artifactPath;]weblogic-azure/weblogic-azure-aks/target/$artifactName" - name: Archive weblogic-azure/weblogic-azure-aks template - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + uses: actions/upload-artifact@v4.6.2 if: success() with: name: ${{steps.artifact_file.outputs.artifactName}} @@ -240,7 +240,7 @@ jobs: with: path: weblogic-azure - name: Download artifact for deployment - uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 + uses: actions/download-artifact@v4.2.1 with: name: ${{needs.preflight.outputs.artifactName}} path: ${{needs.preflight.outputs.artifactName}} diff --git a/.github/workflows/testWlsAksWithoutDependencyCreation.yml b/.github/workflows/testWlsAksWithoutDependencyCreation.yml index d03b85ff6..6c15386d1 100644 --- a/.github/workflows/testWlsAksWithoutDependencyCreation.yml +++ b/.github/workflows/testWlsAksWithoutDependencyCreation.yml @@ -154,7 +154,7 @@ jobs: echo "##[set-output name=artifactName;]${artifactName}" echo "##[set-output name=artifactPath;]weblogic-azure/weblogic-azure-aks/target/$artifactName" - name: Archive weblogic-azure/weblogic-azure-aks template - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + uses: actions/upload-artifact@v4.6.2 if: success() with: name: ${{steps.artifact_file.outputs.artifactName}} @@ -194,7 +194,7 @@ jobs: with: path: weblogic-azure - name: Download artifact for deployment - uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 + uses: actions/download-artifact@v4.2.1 with: name: ${{needs.preflight.outputs.artifactName}} path: ${{needs.preflight.outputs.artifactName}} diff --git a/.github/workflows/testWlsVmAdmin.yml b/.github/workflows/testWlsVmAdmin.yml index 45362f17d..c52384b72 100644 --- a/.github/workflows/testWlsVmAdmin.yml +++ b/.github/workflows/testWlsVmAdmin.yml @@ -156,7 +156,7 @@ jobs: run: unzip ${{ env.adminOfferPath }}/target/$artifactName.zip -d ${{ env.adminOfferPath }}/target/$artifactName - name: Archive ${{ env.offerName }} template - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + uses: actions/upload-artifact@v4.6.2 if: success() with: name: ${{steps.artifact_file.outputs.artifactName}} @@ -223,7 +223,7 @@ jobs: repository: ${{env.repoOwner}}/${{env.repoName}} path: ${{env.repoName}} - name: Download artifact for deployment - uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 + uses: actions/download-artifact@v4.2.1 with: name: ${{ needs.preflight.outputs.artifactName }} path: ${{needs.preflight.outputs.artifactName}} diff --git a/.github/workflows/testWlsVmCluster.yml b/.github/workflows/testWlsVmCluster.yml index d1a5db176..8260d2225 100644 --- a/.github/workflows/testWlsVmCluster.yml +++ b/.github/workflows/testWlsVmCluster.yml @@ -136,7 +136,7 @@ jobs: echo "##[set-output name=artifactName;]${artifactName}" echo "##[set-output name=artifactPath;]${{ env.offerPath }}/${{ env.offerName }}/target/$artifactName" - name: Archive ${{ env.offerName }} template - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + uses: actions/upload-artifact@v4.6.2 if: success() with: name: ${{steps.artifact_file.outputs.artifactName}} @@ -201,7 +201,7 @@ jobs: repository: ${{env.repoOwner}}/${{env.repoName}} path: ${{env.repoName}} - name: Download artifact for deployment - uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 + uses: actions/download-artifact@v4.2.1 with: path: ${{ needs.preflight.outputs.artifactName }} name: ${{ needs.preflight.outputs.artifactName }} diff --git a/.github/workflows/testWlsVmDynamicCluster.yml b/.github/workflows/testWlsVmDynamicCluster.yml index 366398c94..d3896601c 100644 --- a/.github/workflows/testWlsVmDynamicCluster.yml +++ b/.github/workflows/testWlsVmDynamicCluster.yml @@ -131,7 +131,7 @@ jobs: echo "##[set-output name=artifactName;]${artifactName}" echo "##[set-output name=artifactPath;]${offerPath}/${{ env.offerName }}/target/$artifactName" - name: Archive ${{env.offerName}} template - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + uses: actions/upload-artifact@v4.6.2 if: success() with: name: ${{steps.artifact_file.outputs.artifactName}} @@ -201,7 +201,7 @@ jobs: repository: ${{env.repoOwner}}/${{env.repoName}} path: ${{env.repoName}} - name: Download artifact for deployment - uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 + uses: actions/download-artifact@v4.2.1 with: path: ${{needs.preflight.outputs.artifactName}} name: ${{ needs.preflight.outputs.artifactName }} From 62e40116b60531d50187735132406eca167dd883 Mon Sep 17 00:00:00 2001 From: zhihaoguo Date: Wed, 30 Apr 2025 09:39:04 +0800 Subject: [PATCH 3/3] Revert "Update actions/upload-artifact to version 4.6.2 in multiple YAML files" This reverts commit 7806c75e764cf76047a33597f94344662c2edef1. --- .github/workflows/buildWlsAksArtifact.yml | 2 +- .github/workflows/buildWlsVm4AsArtifact.yml | 2 +- .github/workflows/buildWlsVm4CcArtifact.yml | 2 +- .github/workflows/buildWlsVm4DcArtifact.yml | 2 +- .github/workflows/buildWlsVm4SnArtifact.yml | 2 +- .github/workflows/setupWlsAksDependency.yml | 2 +- .github/workflows/testWlsAksWithDependencyCreation.yml | 4 ++-- .github/workflows/testWlsAksWithoutDependencyCreation.yml | 4 ++-- .github/workflows/testWlsVmAdmin.yml | 4 ++-- .github/workflows/testWlsVmCluster.yml | 4 ++-- .github/workflows/testWlsVmDynamicCluster.yml | 4 ++-- 11 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/buildWlsAksArtifact.yml b/.github/workflows/buildWlsAksArtifact.yml index f588b67ad..d40dfdb2b 100644 --- a/.github/workflows/buildWlsAksArtifact.yml +++ b/.github/workflows/buildWlsAksArtifact.yml @@ -52,7 +52,7 @@ jobs: echo "##[set-output name=artifactName;]${artifactName}" echo "##[set-output name=artifactPath;]weblogic-azure/weblogic-azure-aks/target/$artifactName" - name: Archive weblogic-azure/weblogic-azure-aks template - uses: actions/upload-artifact@v4.6.2 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 if: success() with: name: ${{steps.artifact_file.outputs.artifactName}} diff --git a/.github/workflows/buildWlsVm4AsArtifact.yml b/.github/workflows/buildWlsVm4AsArtifact.yml index 98eb27346..de97f9c78 100644 --- a/.github/workflows/buildWlsVm4AsArtifact.yml +++ b/.github/workflows/buildWlsVm4AsArtifact.yml @@ -94,7 +94,7 @@ jobs: echo "##[set-output name=artifactName;]${artifactName}-${{ env.pidType }}" echo "##[set-output name=artifactPath;]${{env.repoName}}/weblogic-azure-vm/${{ env.offerName }}/target/$artifactName" - name: Archive ${{ env.offerName }} template - uses: actions/upload-artifact@v4.6.2 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 if: success() with: name: ${{steps.artifact_file.outputs.artifactName}} diff --git a/.github/workflows/buildWlsVm4CcArtifact.yml b/.github/workflows/buildWlsVm4CcArtifact.yml index 3d18b36fb..e04c36e4e 100644 --- a/.github/workflows/buildWlsVm4CcArtifact.yml +++ b/.github/workflows/buildWlsVm4CcArtifact.yml @@ -92,7 +92,7 @@ jobs: echo "##[set-output name=artifactName;]${artifactName}-${{ env.pidType }}" echo "##[set-output name=artifactPath;]${{env.repoName}}/weblogic-azure-vm/${{ env.offerName }}/${{ env.offerName }}/target/$artifactName" - name: Archive ${{ env.offerName }} template - uses: actions/upload-artifact@v4.6.2 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 if: success() with: name: ${{steps.artifact_file.outputs.artifactName}} diff --git a/.github/workflows/buildWlsVm4DcArtifact.yml b/.github/workflows/buildWlsVm4DcArtifact.yml index 84d92fb7f..f9144bff6 100644 --- a/.github/workflows/buildWlsVm4DcArtifact.yml +++ b/.github/workflows/buildWlsVm4DcArtifact.yml @@ -90,7 +90,7 @@ jobs: echo "##[set-output name=artifactName;]${artifactName}-${{ env.pidType }}" echo "##[set-output name=artifactPath;]${{env.repoName}}/weblogic-azure-vm/${{ env.offerName }}/${{ env.offerName }}/target/$artifactName" - name: Archive ${{ env.offerName }} template - uses: actions/upload-artifact@v4.6.2 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 if: success() with: name: ${{steps.artifact_file.outputs.artifactName}} diff --git a/.github/workflows/buildWlsVm4SnArtifact.yml b/.github/workflows/buildWlsVm4SnArtifact.yml index fa76eb8ad..243824d42 100644 --- a/.github/workflows/buildWlsVm4SnArtifact.yml +++ b/.github/workflows/buildWlsVm4SnArtifact.yml @@ -86,7 +86,7 @@ jobs: echo "##[set-output name=artifactName;]${artifactName}-${{ env.pidType }}" echo "##[set-output name=artifactPath;]${{env.repoName}}/weblogic-azure-vm/${{ env.offerName }}/target/$artifactName" - name: Archive ${{ env.offerName }} template - uses: actions/upload-artifact@v4.6.2 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 if: success() with: name: ${{steps.artifact_file.outputs.artifactName}} diff --git a/.github/workflows/setupWlsAksDependency.yml b/.github/workflows/setupWlsAksDependency.yml index 891520073..72f87d3d4 100644 --- a/.github/workflows/setupWlsAksDependency.yml +++ b/.github/workflows/setupWlsAksDependency.yml @@ -101,7 +101,7 @@ jobs: {"event_type": "aks-integration-test-without-dependency-creation", "client_payload": {"gitUserNameForArtifactsLocation": "${{ github.repository_owner }}", "testBranchNameForArtifactsLocation": "${{ github.ref }}", "isForDemo": "false", "disambiguationSuffix": "${{ github.run_id }}", "storageAccountName": "${{ env.storageAccountName }}", "storageContainerName": "${{ env.storageContainerName }}", "dbName": "${{ env.dbName }}"}} EOF - name: Archive integration-test-data.txt - uses: actions/upload-artifact@v4.6.2 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 if: success() with: name: integration-test-data diff --git a/.github/workflows/testWlsAksWithDependencyCreation.yml b/.github/workflows/testWlsAksWithDependencyCreation.yml index 8c7bde97b..6868151dc 100644 --- a/.github/workflows/testWlsAksWithDependencyCreation.yml +++ b/.github/workflows/testWlsAksWithDependencyCreation.yml @@ -134,7 +134,7 @@ jobs: echo "##[set-output name=artifactName;]${artifactName}" echo "##[set-output name=artifactPath;]weblogic-azure/weblogic-azure-aks/target/$artifactName" - name: Archive weblogic-azure/weblogic-azure-aks template - uses: actions/upload-artifact@v4.6.2 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 if: success() with: name: ${{steps.artifact_file.outputs.artifactName}} @@ -240,7 +240,7 @@ jobs: with: path: weblogic-azure - name: Download artifact for deployment - uses: actions/download-artifact@v4.2.1 + uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 with: name: ${{needs.preflight.outputs.artifactName}} path: ${{needs.preflight.outputs.artifactName}} diff --git a/.github/workflows/testWlsAksWithoutDependencyCreation.yml b/.github/workflows/testWlsAksWithoutDependencyCreation.yml index 6c15386d1..d03b85ff6 100644 --- a/.github/workflows/testWlsAksWithoutDependencyCreation.yml +++ b/.github/workflows/testWlsAksWithoutDependencyCreation.yml @@ -154,7 +154,7 @@ jobs: echo "##[set-output name=artifactName;]${artifactName}" echo "##[set-output name=artifactPath;]weblogic-azure/weblogic-azure-aks/target/$artifactName" - name: Archive weblogic-azure/weblogic-azure-aks template - uses: actions/upload-artifact@v4.6.2 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 if: success() with: name: ${{steps.artifact_file.outputs.artifactName}} @@ -194,7 +194,7 @@ jobs: with: path: weblogic-azure - name: Download artifact for deployment - uses: actions/download-artifact@v4.2.1 + uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 with: name: ${{needs.preflight.outputs.artifactName}} path: ${{needs.preflight.outputs.artifactName}} diff --git a/.github/workflows/testWlsVmAdmin.yml b/.github/workflows/testWlsVmAdmin.yml index c52384b72..45362f17d 100644 --- a/.github/workflows/testWlsVmAdmin.yml +++ b/.github/workflows/testWlsVmAdmin.yml @@ -156,7 +156,7 @@ jobs: run: unzip ${{ env.adminOfferPath }}/target/$artifactName.zip -d ${{ env.adminOfferPath }}/target/$artifactName - name: Archive ${{ env.offerName }} template - uses: actions/upload-artifact@v4.6.2 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 if: success() with: name: ${{steps.artifact_file.outputs.artifactName}} @@ -223,7 +223,7 @@ jobs: repository: ${{env.repoOwner}}/${{env.repoName}} path: ${{env.repoName}} - name: Download artifact for deployment - uses: actions/download-artifact@v4.2.1 + uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 with: name: ${{ needs.preflight.outputs.artifactName }} path: ${{needs.preflight.outputs.artifactName}} diff --git a/.github/workflows/testWlsVmCluster.yml b/.github/workflows/testWlsVmCluster.yml index 8260d2225..d1a5db176 100644 --- a/.github/workflows/testWlsVmCluster.yml +++ b/.github/workflows/testWlsVmCluster.yml @@ -136,7 +136,7 @@ jobs: echo "##[set-output name=artifactName;]${artifactName}" echo "##[set-output name=artifactPath;]${{ env.offerPath }}/${{ env.offerName }}/target/$artifactName" - name: Archive ${{ env.offerName }} template - uses: actions/upload-artifact@v4.6.2 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 if: success() with: name: ${{steps.artifact_file.outputs.artifactName}} @@ -201,7 +201,7 @@ jobs: repository: ${{env.repoOwner}}/${{env.repoName}} path: ${{env.repoName}} - name: Download artifact for deployment - uses: actions/download-artifact@v4.2.1 + uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 with: path: ${{ needs.preflight.outputs.artifactName }} name: ${{ needs.preflight.outputs.artifactName }} diff --git a/.github/workflows/testWlsVmDynamicCluster.yml b/.github/workflows/testWlsVmDynamicCluster.yml index d3896601c..366398c94 100644 --- a/.github/workflows/testWlsVmDynamicCluster.yml +++ b/.github/workflows/testWlsVmDynamicCluster.yml @@ -131,7 +131,7 @@ jobs: echo "##[set-output name=artifactName;]${artifactName}" echo "##[set-output name=artifactPath;]${offerPath}/${{ env.offerName }}/target/$artifactName" - name: Archive ${{env.offerName}} template - uses: actions/upload-artifact@v4.6.2 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 if: success() with: name: ${{steps.artifact_file.outputs.artifactName}} @@ -201,7 +201,7 @@ jobs: repository: ${{env.repoOwner}}/${{env.repoName}} path: ${{env.repoName}} - name: Download artifact for deployment - uses: actions/download-artifact@v4.2.1 + uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 with: path: ${{needs.preflight.outputs.artifactName}} name: ${{ needs.preflight.outputs.artifactName }}