Skip to content

Commit

Permalink
fix --pdfium-ver latest
Browse files Browse the repository at this point in the history
  • Loading branch information
mara004 committed Nov 22, 2023
1 parent a2ba356 commit b94be6d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/conda.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ jobs:
if: inputs.package == 'raw'
run: |
python setupsrc/pypdfium2_setup/autorelease_conda_raw.py --pdfium-ver ${{ inputs.raw_version }}
./run craft conda_raw --pdfium-ver ${{ inputs.raw_version }}
./run craft --pdfium-ver ${{ inputs.raw_version }} conda_raw
- name: Build helpers package
if: inputs.package == 'helpers'
run: ./run craft conda_helpers
run: ./run craft --pdfium-ver ${{ inputs.raw_version }} conda_helpers

- name: Upload artifact
uses: actions/upload-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion setupsrc/pypdfium2_setup/autorelease_conda_raw.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
def main():

parser = argparse.ArgumentParser()
parser.add_argument("--pdfium-ver", type=int, default=None)
parser.add_argument("--pdfium-ver", default=None)
args = parser.parse_args()
if not args.pdfium_ver or args.pdfium_ver == "latest":
args.pdfium_ver = PdfiumVer.get_latest()
Expand Down
1 change: 0 additions & 1 deletion setupsrc/pypdfium2_setup/craft_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ def parse_args():
)
root_parser.add_argument(
"--pdfium-ver",
type = int,
default = None,
)
subparsers = root_parser.add_subparsers(dest="parser")
Expand Down

0 comments on commit b94be6d

Please sign in to comment.