diff --git a/.github/actions/smoke-tests/action.yaml b/.github/actions/smoke-tests/action.yaml index 8291fbfaf2..1df2e37290 100644 --- a/.github/actions/smoke-tests/action.yaml +++ b/.github/actions/smoke-tests/action.yaml @@ -3,7 +3,7 @@ name: Run Smoke Tests description: Run Smoke Tests for the project inputs: - go_md5: + go-md5: required: true type: string k8s-version: @@ -42,7 +42,7 @@ runs: uses: actions/cache@v3 with: path: ${{ github.workspace }}/dist - key: nginx-ingress-${{ inputs.go_md5 }} + key: nginx-ingress-${{ inputs.go-md5 }} - name: Ingress type id: ingress-type diff --git a/.github/workflows/build-oss.yml b/.github/workflows/build-oss.yml index a1eec5b765..99139f24be 100644 --- a/.github/workflows/build-oss.yml +++ b/.github/workflows/build-oss.yml @@ -9,7 +9,7 @@ on: image: required: true type: string - go_md5: + go-md5: required: true type: string tag: @@ -45,7 +45,7 @@ jobs: uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 with: path: ${{ github.workspace }}/dist - key: nginx-ingress-${{ inputs.go_md5 }} + key: nginx-ingress-${{ inputs.go-md5 }} - name: Setup QEMU uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0 diff --git a/.github/workflows/build-plus.yml b/.github/workflows/build-plus.yml index 6f8fc09aa2..a929e3d176 100644 --- a/.github/workflows/build-plus.yml +++ b/.github/workflows/build-plus.yml @@ -12,7 +12,7 @@ on: target: required: true type: string - go_md5: + go-md5: required: true type: string nap_modules: @@ -46,7 +46,7 @@ jobs: uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 with: path: ${{ github.workspace }}/dist - key: nginx-ingress-${{ inputs.go_md5 }} + key: nginx-ingress-${{ inputs.go-md5 }} - name: Setup QEMU uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 93ef93c721..337cb9afe0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -341,7 +341,7 @@ jobs: smoke-tests: name: Smoke Tests runs-on: ubuntu-22.04 - needs: setup-matrix + needs: [checks, setup-matrix] strategy: fail-fast: false matrix: ${{ fromJSON(needs.setup-matrix.outputs.matrix) }} @@ -359,6 +359,7 @@ jobs: nginx-crt: ${{ contains(matrix.images.image, 'nap') && secrets.NGINX_AP_CRT || secrets.NGINX_CRT }} nginx-key: ${{ contains(matrix.images.image, 'nap') && secrets.NGINX_AP_KEY || secrets.NGINX_KEY }} azure-ad-secret: ${{ secrets.AZURE_AD_AUTOMATION }} + go-md5: ${{ needs.checks.outputs.go_code_md5 }} - name: Upload Test Results uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0 @@ -383,7 +384,7 @@ jobs: with: platforms: ${{ matrix.platforms }} image: ${{ matrix.image }} - go_md5: ${{ needs.checks.outputs.go_code_md5 }} + go-md5: ${{ needs.checks.outputs.go_code_md5 }} permissions: contents: read actions: read @@ -410,7 +411,7 @@ jobs: platforms: ${{ matrix.platforms }} image: ${{ matrix.image }} target: ${{ matrix.target }} - go_md5: ${{ needs.checks.outputs.go_code_md5 }} + go-md5: ${{ needs.checks.outputs.go_code_md5 }} release-url: ${{ needs.release-notes.outputs.release-url }} permissions: contents: read @@ -433,7 +434,7 @@ jobs: platforms: ${{ matrix.platforms }} image: ${{ matrix.image }} target: ${{ matrix.target }} - go_md5: ${{ needs.checks.outputs.go_code_md5 }} + go-md5: ${{ needs.checks.outputs.go_code_md5 }} nap_modules: ${{ matrix.nap_modules }} release-url: ${{ needs.release-notes.outputs.release-url }} permissions: