Skip to content

Commit

Permalink
ci: use first item of workflows reference
Browse files Browse the repository at this point in the history
  • Loading branch information
clementb49 committed Jun 2, 2024
1 parent 2ba4303 commit 4f44fb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:

jobs:
create_release:
if: github.event.workflow_run.conclusion == 'success' && startsWith(github.event.workflow_run.referenced_workflows.ref, 'refs/tags/v')
if: github.event.workflow_run.conclusion == 'success' && startsWith(github.event.workflow_run.referenced_workflows[0].ref, 'refs/tags/v')
runs-on: ubuntu-latest
steps:
- name: download windows portable artifacts
Expand Down

0 comments on commit 4f44fb9

Please sign in to comment.