8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb68f99 commit a1f3192Copy full SHA for a1f3192
.github/workflows/publish.yml
@@ -40,6 +40,9 @@ jobs:
40
- name: "Record run id" # zizmor: ignore[template-injection]
41
id: run-id
42
run: |
43
+ # There must be a shorter way to write this...
44
+ [ "${{ fromJson(steps.runs.outputs.data).workflow_runs[0].status}}" = "completed" ] || exit 1
45
+ [ "${{ fromJson(steps.runs.outputs.data).workflow_runs[0].conclusion}}" = "success" ] || exit 1
46
echo "run-id=${{ fromJson(steps.runs.outputs.data).workflow_runs[0].id }}" >> "$GITHUB_OUTPUT"
47
48
publish-to-test-pypi:
0 commit comments