We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb68f99 commit 1d1c1b2Copy full SHA for 1d1c1b2
.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}}" -eq "completed" ] || exit 1
45
+ [ "${{ fromJson(steps.runs.outputs.data).workflow_runs[0].conclusion}}" -eq "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