Skip to content

Commit

Permalink
Attempt to fix workflow/autorelease (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
mara004 authored Nov 14, 2022
1 parent 31406d5 commit 918d2f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/trigger_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,7 @@ on:
# https://github.com/bblanchon/pdfium-binaries/blob/master/.github/workflows/trigger.yml
schedule:
- cron: '0 10 * * 1'

workflow_dispatch:
inputs:
pre_test:
default: true
type: boolean
test:
default: true
type: boolean
publish:
# typically always true, exposed only for testing purposes
default: true
type: boolean

defaults:
run:
Expand All @@ -40,9 +28,9 @@ jobs:
workflow: build_packages.yaml
inputs: |
{
"pre_test": "${{ inputs.pre_test }}",
"test": "${{ inputs.test }}",
"publish": "${{ inputs.publish }}",
"pre_test": "true",
"test": "true",
"publish": "true",
"py_version": "3.10",
"runner": "ubuntu-latest"
}
2 changes: 1 addition & 1 deletion setupsrc/pl_setup/autorelease.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def _get_log(name, url, cwd, ver_a, ver_b, prefix_ver, prefix_commit, prefix_tag
log += run_cmd(["git", "log",
"%s..%s" % (prefix_tag+ver_a, prefix_tag+ver_b),
"--pretty=format:* [`%h`]({}%H) %s".format(url+prefix_commit)],
capture=True, cwd=cwd,
capture=True, check=False, cwd=cwd,
)
log += "\n\n</details>\n"
return log
Expand Down

0 comments on commit 918d2f3

Please sign in to comment.