diff --git a/.github/workflows/4-release.yaml b/.github/workflows/4-release.yaml index c626f215f..4c6c15254 100644 --- a/.github/workflows/4-release.yaml +++ b/.github/workflows/4-release.yaml @@ -9,17 +9,17 @@ env: IMAGE_NAME: ${{ github.repository }} jobs: -# detect-current-api-version: -# uses: ./.github/workflows/detect-webapi-version.yaml -# with: -# # We cannot use environment variables here due to workflow limitation. -# # https://docs.github.com/en/enterprise-cloud@latest/actions/using-workflows/reusing-workflows#limitations -# registry: ghcr.io -# image-repo: ${{ github.repository }} + detect-current-api-version: + uses: ./.github/workflows/detect-webapi-version.yaml + with: + # We cannot use environment variables here due to workflow limitation. + # https://docs.github.com/en/enterprise-cloud@latest/actions/using-workflows/reusing-workflows#limitations + registry: ghcr.io + image-repo: ${{ github.repository }} publish-container-image: runs-on: ubuntu-latest -# needs: detect-current-api-version + needs: detect-current-api-version permissions: packages: write steps: @@ -60,9 +60,9 @@ jobs: generate-webapi-clients: needs: -# - detect-current-api-version + - detect-current-api-version - detect-newer-api-version -# if: ${{ needs.detect-current-api-version.outputs.apiver != needs.detect-newer-api-version.outputs.apiver }} + if: ${{ needs.detect-current-api-version.outputs.apiver != needs.detect-newer-api-version.outputs.apiver }} uses: ./.github/workflows/4.a-generate-webapi-clients.yaml permissions: contents: write