Skip to content

Commit

Permalink
ci: Add debug job to Publish to troubleshoot skipped job
Browse files Browse the repository at this point in the history
  • Loading branch information
joshooaj committed Mar 19, 2024
1 parent f380a36 commit be35cd3
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/Publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,17 @@ on:
- completed

jobs:
debug:
runs-on: ubuntu-latest
steps:
- name: ShowRef
shell: pwsh
run: Write-Host "github.ref = '${{ github.ref }}'"

publish:
if: github.event.workflow_run.conclusion == 'success' && startsWith(github.ref, 'refs/tags/v')
if: |
github.event.workflow_run.conclusion == 'success' &&
startsWith(github.ref, 'refs/tags/v')
name: Publish
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit be35cd3

Please sign in to comment.