Skip to content

Commit c326cf5

Browse files
Update release.yml for massive.com (#955)
* Update release.yml for massive.com * remove test since we have another workflow
1 parent a1a8cd0 commit c326cf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
uses: abatilo/actions-poetry@v2
3030
- name: Get package name
3131
id: package
32-
run: echo "name=$(poetry run python -c 'import toml; print(toml.load(\"pyproject.toml\")[\"tool\"][\"poetry\"][\"name\"])')" >> $GITHUB_OUTPUT
32+
run: echo "name=$(python -c \"with open('pyproject.toml') as f: lines = f.readlines(); for line in lines: if line.strip().startswith('name ='): print(line.strip().split(' = ')[1].strip('\\\"')); break\")" >> $GITHUB_OUTPUT
3333
- name: Configure Poetry
3434
run: |
3535
if [ "${{ steps.package.outputs.name }}" == "polygon-api-client" ]; then

0 commit comments

Comments
 (0)