Skip to content

Commit c18303d

Browse files
api-clients-generation-pipeline[bot]skarimoci.datadog-api-spec
authored
Use python version string for cache keys (#1246)
* fix cache keys * Regenerate client from commit 0099d2ec of spec repo Co-authored-by: Sherzod Karimov <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 21a1f38 commit c18303d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.4",
7-
"regenerated": "2022-11-18 18:21:26.952058",
8-
"spec_repo_commit": "4aa21954"
7+
"regenerated": "2022-11-18 19:10:53.422405",
8+
"spec_repo_commit": "0099d2ec"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2022-11-18 18:21:26.967357",
13-
"spec_repo_commit": "4aa21954"
12+
"regenerated": "2022-11-18 19:10:53.437372",
13+
"spec_repo_commit": "0099d2ec"
1414
}
1515
}
1616
}

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Install pre-commit
3939
run: python -m pip install pre-commit
4040
- name: set PY
41-
run: echo "PY=$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')" >> $GITHUB_ENV
41+
run: echo "PY=$(python -c 'import hashlib, sys, platform;print(hashlib.sha256(platform.python_version().encode()+sys.executable.encode()).hexdigest())')" >> $GITHUB_ENV
4242
- uses: actions/cache@v2
4343
with:
4444
path: ~/.cache/pre-commit

0 commit comments

Comments
 (0)