diff --git a/.github/workflows/conda.yaml b/.github/workflows/conda.yaml index 557088398..deb0f5f26 100644 --- a/.github/workflows/conda.yaml +++ b/.github/workflows/conda.yaml @@ -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 diff --git a/setupsrc/pypdfium2_setup/autorelease_conda_raw.py b/setupsrc/pypdfium2_setup/autorelease_conda_raw.py index d2da77666..9cbb07147 100644 --- a/setupsrc/pypdfium2_setup/autorelease_conda_raw.py +++ b/setupsrc/pypdfium2_setup/autorelease_conda_raw.py @@ -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() diff --git a/setupsrc/pypdfium2_setup/craft_packages.py b/setupsrc/pypdfium2_setup/craft_packages.py index a02baffc0..e76359647 100644 --- a/setupsrc/pypdfium2_setup/craft_packages.py +++ b/setupsrc/pypdfium2_setup/craft_packages.py @@ -28,7 +28,6 @@ def parse_args(): ) root_parser.add_argument( "--pdfium-ver", - type = int, default = None, ) subparsers = root_parser.add_subparsers(dest="parser")