@@ -39,36 +39,37 @@ jobs:
3939 SHA=$(gh api "repos/${{ github.repository }}/git/ref/heads/${{ matrix.version.branch }}" -q '.object.sha')
4040 echo "sha=$SHA" >> $GITHUB_OUTPUT
4141 echo "Branch ${{ matrix.version.branch }} -> section ${{ matrix.version.section }} (SHA: $SHA)"
42- - name : Cache version docs
43- id : cache
44- uses : actions/cache@v4
45- with :
46- path : docs/versioned_docs/${{ matrix.version.section }}
47- key : version-docs-${{ hashFiles('scripts/docs/*.py', 'scripts/docs/templates/**', 'docs/*_template.md') }}-${{ matrix.version.section }}-${{ steps.sha.outputs.sha }}
42+ # TODO: re-enable once the pipeline is stable
43+ # - name: Cache version docs
44+ # id: cache
45+ # uses: actions/cache@v4
46+ # with:
47+ # path: docs/versioned_docs/${{ matrix.version.section }}
48+ # key: version-docs-${{ hashFiles('scripts/docs/*.py', 'scripts/docs/templates/**', 'docs/*_template.md') }}-${{ matrix.version.section }}-${{ steps.sha.outputs.sha }}
4849 - name : Checkout
49- if : steps.cache.outputs.cache-hit != 'true'
50+
5051 uses : actions/checkout@v4
5152 - name : Fetch target branch
52- if : steps.cache.outputs.cache-hit != 'true'
53+
5354 run : git fetch origin ${{ matrix.version.branch }}
5455 - name : Checkout branch packages
55- if : steps.cache.outputs.cache-hit != 'true'
56+
5657 run : |
5758 git checkout origin/${{ matrix.version.branch }} -- gooddata-api-client/ packages/gooddata-sdk/ packages/gooddata-pandas/
5859 - name : Setup Python
59- if : steps.cache.outputs.cache-hit != 'true'
60+
6061 uses : actions/setup-python@v5
6162 with :
6263 python-version-file : " .python-version"
6364 cache : ' pip'
6465 cache-dependency-path : scripts/script-requirements.txt
6566 - name : Install Dependencies
66- if : steps.cache.outputs.cache-hit != 'true'
67+
6768 run : |
6869 python -m pip install --upgrade pip
6970 pip install -r scripts/script-requirements.txt
7071 - name : Generate version docs
71- if : steps.cache.outputs.cache-hit != 'true'
72+
7273 run : bash scripts/generate-single-version.sh "origin/${{ matrix.version.branch }}" "${{ matrix.version.section }}"
7374 - name : Upload version artifact
7475 uses : actions/upload-artifact@v4
0 commit comments