Skip to content

Commit

Permalink
fix path string split
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Heinrich <[email protected]>
  • Loading branch information
andistorm committed Sep 2, 2024
1 parent 363f3d0 commit b9e2f5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ jobs:
shell: python3 {0}
run: |
import os
workflow_path = "${{ github.workflow_ref }}".split('@')[0]
workflow_path = "${{ github.workflow_ref }}".split('@')[0].split('/', 2)[-1]'
with open(os.environ["GITHUB_OUTPUT"], "a") as f:
f.write(f"workflow_path={workflow_path}\n")
print(f"Set output workflow_path to {workflow_path}")
Expand Down

0 comments on commit b9e2f5a

Please sign in to comment.