File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -31,17 +31,17 @@ jobs:
3131 id : package
3232 run : |
3333 echo "name=$(python - <<'PY'
34- import sys
35- with open('pyproject.toml', 'r', encoding='utf-8') as f :
36- for line in f :
37- s = line.strip()
38- if s.startswith('name') :
39- # supports: name="foo" or name = "foo" and ignores inline comments
40- val = s.split('=', 1)[1].split('#', 1)[0].strip().strip('"').strip("'")
41- print(val)
42- break
43- PY
44- )" >> "$GITHUB_OUTPUT"
34+ import sys
35+ with open('pyproject.toml', 'r', encoding='utf-8') as f:
36+ for line in f:
37+ s = line.strip()
38+ if s.startswith('name'):
39+ # supports: name="foo" or name = "foo" and ignores inline comments
40+ val = s.split('=', 1)[1].split('#', 1)[0].strip().strip('"').strip("'")
41+ print(val)
42+ break
43+ PY
44+ )" >> "$GITHUB_OUTPUT"
4545 - name : Configure Poetry
4646 run : |
4747 if [ "${{ steps.package.outputs.name }}" = "polygon-api-client" ]; then
You can’t perform that action at this time.
0 commit comments