Skip to content

Commit

Permalink
👷 🐛 fix pdf release conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
ebullient committed Feb 26, 2025
1 parent e656945 commit 1a519a6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pdf-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,12 @@ jobs:
- name: Inputs
run: |
echo "is main root: ${{ needs.main-root.outputs.is-main }}"
echo "create_release: ${{ github.event.inputs.create_release }}"
echo "release_notes: ${{ github.event.inputs.release_notes }}"
echo "echo is-main='${{ needs.main-root.outputs.is-main }}'"
echo "create_release='${{ inputs.create_release }}'"
echo "release_notes='${{ inputs.release_notes }}'"
- name: Update snapshot tag
if: ${{ needs.main-root.outputs.is-main && !github.event.inputs.create_release }}
if: needs.main-root.outputs.is-main == 'true' && inputs.create_release != 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
Expand All @@ -111,7 +111,7 @@ jobs:
gh release edit SNAPSHOT --draft=false
- name: Create dated release
if: ${{ needs.main-root.outputs.is-main && github.event.inputs.create_release }}
if: needs.main-root.outputs.is-main == 'true' && inputs.create_release == 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE_NOTES: ${{ inputs.release_notes }}
Expand Down

0 comments on commit 1a519a6

Please sign in to comment.