File tree Expand file tree Collapse file tree 2 files changed +3
-12
lines changed Expand file tree Collapse file tree 2 files changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -30,20 +30,11 @@ jobs:
30
30
- name : Install tox
31
31
run : pip install tox
32
32
33
- - name : Set spec commit
34
- id : set_commit
35
- run : |
36
- content=`cat .apigentools-info`
37
- content="${content//'%'/'%25'}"
38
- content="${content//$'\n'/'%0A'}"
39
- content="${content//$'\r'/'%0D'}"
40
- echo "::set-output name=spec_json::$content"
41
-
42
33
- name : Cache sphinx
43
34
uses : actions/cache@v3
44
35
with :
45
36
path : docs/.sphinx
46
- key : sphinx-${{ fromJson(steps.set_commit.outputs.spec_json).spec_versions.v2.spec_repo_commit }}
37
+ key : sphinx-${{ hashFiles('.generator/schemas/**/openapi.yaml') }}
47
38
restore-keys : sphinx-
48
39
49
40
- name : Build documentation
Original file line number Diff line number Diff line change 29
29
if [ "${VERSION}" = "" ] ; then
30
30
LATEST_TAG=$(git describe --tags --abbrev=0)
31
31
NEXT_TAG=$(echo ${LATEST_TAG} | awk '{split($0, a, "."); print a[1] "." a[2] + 1 "." a[3]}')
32
- echo ::set-output name= version:: $NEXT_TAG
32
+ echo " version= $NEXT_TAG" >> $GITHUB_OUTPUT
33
33
else
34
- echo ::set-output name= version:: $VERSION
34
+ echo " version= $VERSION" >> $GITHUB_OUTPUT
35
35
fi
36
36
env :
37
37
VERSION : ${{ github.event.inputs.version }}
You can’t perform that action at this time.
0 commit comments