diff --git a/.github/workflows/api-container-tests.yml b/.github/workflows/api-container-tests.yml index 47687a85..008a0c56 100644 --- a/.github/workflows/api-container-tests.yml +++ b/.github/workflows/api-container-tests.yml @@ -14,13 +14,13 @@ jobs: fetch-mysql-versions: runs-on: ubuntu-latest outputs: - MYSQL_VERSIONS: ${{ steps.fetch-versions.outputs.version_array }} - steps: - - name: Fetch MySQL Versions - id: fetch-versions - run: | - VERSIONS=$(echo $(curl -s "https://registry.hub.docker.com/v2/repositories/library/mysql/tags/?page_size=100" | jq -r '.results[].name | select(test("^8\\.0\\.\\d+$"))' | sort -V | tail -n3 | cat <(echo "8.0.21") - | jq -Rnc '[inputs]')) - echo "version_array=$VERSIONS" >> $GITHUB_OUTPUT + MYSQL_VERSIONS: '["8.0.0", "8.0.1", "8.0.2", "8.0.3", "8.0.4", "8.0.5", "8.0.6", "8.0.7", "8.0.11", "8.0.12", "8.0.13", "8.0.14", "8.0.15", "8.0.16", "8.0.17", "8.0.18", "8.0.19", "8.0.20", "8.0.21", "8.0.22", "8.0.23", "8.0.24", "8.0.25", "8.0.26", "8.0.27", "8.0.28", "8.0.29", "8.0.30", "8.0.31", "8.0.32", "8.0.33", "8.0.34", "8.0.35", "8.0.36", "8.0.37", "8.0.38", "8.0.39"]' + # steps: + # - name: Fetch MySQL Versions + # id: fetch-versions + # run: | + # VERSIONS=$(echo $(curl -s "https://registry.hub.docker.com/v2/repositories/library/mysql/tags/?page_size=100" | jq -r '.results[].name | select(test("^8\\.0\\.\\d+$"))' | sort -V | tail -n3 | cat <(echo "8.0.21") - | jq -Rnc '[inputs]')) + # echo "version_array=$VERSIONS" >> $GITHUB_OUTPUT test_api: needs: fetch-mysql-versions