diff --git a/.github/workflows/publish-pypi.yaml b/.github/workflows/publish-pypi.yaml index caa66bf..36c1246 100644 --- a/.github/workflows/publish-pypi.yaml +++ b/.github/workflows/publish-pypi.yaml @@ -24,7 +24,7 @@ jobs: env: PYO3_CROSS_LIB_DIR: /opt/python/${{ matrix.python.abi }}/lib with: - maturin-version: 0.14.6 + maturin-version: 1.5.0 target: ${{ matrix.target }} manylinux: auto command: build @@ -34,7 +34,7 @@ jobs: env: PYO3_CROSS_LIB_DIR: /opt/python/${{ matrix.python.abi }}/lib with: - maturin-version: 0.14.6 + maturin-version: 1.5.0 target: ${{ matrix.target }} manylinux: auto command: build @@ -72,14 +72,14 @@ jobs: - uses: messense/maturin-action@v1 name: build pylancelot for windows (${{ matrix.target }}) with: - maturin-version: 0.14.6 + maturin-version: 1.5.0 command: build target: ${{ matrix.target }} args: --interpreter=python${{ matrix.python.version }} --release --strip --manifest-path=./pylancelot/Cargo.toml - uses: messense/maturin-action@v1 name: build pyflirt for windows (${{ matrix.target }}) with: - maturin-version: 0.14.6 + maturin-version: 1.5.0 command: build target: ${{ matrix.target }} args: --interpreter=python${{ matrix.python.version }} --release --strip --manifest-path=./pyflirt/Cargo.toml @@ -131,7 +131,7 @@ jobs: # needed due to: https://stackoverflow.com/a/56092773/87207 MACOSX_DEPLOYMENT_TARGET: 10.9 with: - maturin-version: 0.14.6 + maturin-version: 1.5.0 command: build args: --interpreter=python${{ matrix.python.version }} --release --universal2 --strip --manifest-path=./pylancelot/Cargo.toml - uses: messense/maturin-action@v1 @@ -139,7 +139,7 @@ jobs: env: MACOSX_DEPLOYMENT_TARGET: 10.9 with: - maturin-version: 0.14.6 + maturin-version: 1.5.0 command: build args: --interpreter=python${{ matrix.python.version }} --release --universal2 --strip --manifest-path=./pyflirt/Cargo.toml # @@ -150,7 +150,7 @@ jobs: env: MACOSX_DEPLOYMENT_TARGET: 10.9 with: - maturin-version: 0.14.6 + maturin-version: 1.5.0 command: build target: x86_64 args: --interpreter=python${{ matrix.python.version }} --release --strip --manifest-path=./pylancelot/Cargo.toml @@ -159,7 +159,7 @@ jobs: env: MACOSX_DEPLOYMENT_TARGET: 10.9 with: - maturin-version: 0.14.6 + maturin-version: 1.5.0 command: build target: x86_64 args: --interpreter=python${{ matrix.python.version }} --release --strip --manifest-path=./pyflirt/Cargo.toml @@ -178,22 +178,9 @@ jobs: permissions: id-token: write steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - name: Set up Python - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0 + - uses: actions/download-artifact@v4 with: - python-version: '3.8' - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -e .[build] - - name: build package - run: | - python -m build - - name: upload package artifacts - uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1 - with: - path: dist/* + path: dist/ - name: publish package uses: pypa/gh-action-pypi-publish@f5622bde02b04381239da3573277701ceca8f6a0 # release/v1 with: