diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b902b6f..84cdcdd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,45 +49,45 @@ jobs: name: wheels-linux path: dist/*.whl - # windows: - # runs-on: windows-latest - # steps: - # - uses: actions/checkout@v3 - # - name: Install OpenSSL - # run: choco install openssl + windows: + runs-on: windows-latest + steps: + - uses: actions/checkout@v3 + - name: Install OpenSSL + run: choco install openssl - # - name: Build and Prepare Wheels - # uses: messense/maturin-action@v1 - # with: - # command: build - # args: --release -o dist --find-interpreter - # - name: List built wheels - # run: ls dist/ - # - name: Upload wheels - # uses: actions/upload-artifact@v2 - # with: - # name: wheels-windows - # path: dist + - name: Build and Prepare Wheels + uses: messense/maturin-action@v1 + with: + command: build + args: --release -o dist --find-interpreter + - name: List built wheels + run: ls dist/ + - name: Upload wheels + uses: actions/upload-artifact@v2 + with: + name: wheels-windows + path: dist - # macos: - # runs-on: macos-latest - # steps: - # - uses: actions/checkout@v3 - # - name: Install OpenSSL - # run: brew install openssl + macos: + runs-on: macos-latest + steps: + - uses: actions/checkout@v3 + - name: Install OpenSSL + run: brew install openssl - # - name: Build and Prepare Wheels - # uses: messense/maturin-action@v1 - # with: - # command: build - # args: --release -o dist --universal2 --find-interpreter - # - name: List built wheels - # run: ls dist/ - # - name: Upload wheels - # uses: actions/upload-artifact@v2 - # with: - # name: wheels-macos - # path: dist + - name: Build and Prepare Wheels + uses: messense/maturin-action@v1 + with: + command: build + args: --release -o dist --universal2 --find-interpreter + - name: List built wheels + run: ls dist/ + - name: Upload wheels + uses: actions/upload-artifact@v2 + with: + name: wheels-macos + path: dist release: name: Release @@ -98,16 +98,16 @@ jobs: uses: actions/download-artifact@v2 with: name: wheels-linux - # - name: Download all wheels (Windows) - # uses: actions/download-artifact@v2 - # with: - # name: wheels-windows - # - name: Download all wheels (macOS) - # uses: actions/download-artifact@v2 - # with: - # name: wheels-macos - # - name: List all downloaded wheels - # run: ls + - name: Download all wheels (Windows) + uses: actions/download-artifact@v2 + with: + name: wheels-windows + - name: Download all wheels (macOS) + uses: actions/download-artifact@v2 + with: + name: wheels-macos + - name: List all downloaded wheels + run: ls - name: Publish to PyPI uses: messense/maturin-action@v1 env: