Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
draft
generalize rule
mod for test
release field updates
  • Loading branch information
apazos committed Dec 26, 2024
1 parent 0a043a0 commit 600a5e4
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build-pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ on:
description: Create release as a draft?
required: false
type: boolean
default: false
default: true
pull_request:
push:
branches:
- main
- mywf

jobs:
build:
Expand Down Expand Up @@ -76,11 +76,10 @@ jobs:
uses: softprops/action-gh-release@v1
with:
files: ${{ github.workspace }}/build/*.pdf
tag_name: v${{ steps.version.outputs.version }}
name: Release ${{ steps.version.outputs.version }}
tag_name: draft-${{ steps.date.outputs.date }}-${{ github.sha }}
name: Draft release ${{ steps.date.outputs.date }}
body: Latest snapshot (${{ github.sha }})
draft: ${{ github.event.inputs.draft }}
prerelease: ${{ github.event.inputs.prerelease }}
env:
GITHUB_TOKEN: ${{ secrets.GHTOKEN }}
if: github.event_name == 'workflow_dispatch'
# This condition ensures this step only runs for workflow_dispatch events.

0 comments on commit 600a5e4

Please sign in to comment.