Skip to content

Commit 5a295ca

Browse files
committed
fix graalvm link, test publish, and remove python version from matrix
1 parent bd32a38 commit 5a295ca

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/on-release-main.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ jobs:
1111
strategy:
1212
matrix:
1313
os: [macos-13, windows-latest, ubuntu-latest, macos-14]
14-
python-version: ["3.11"]
1514
fail-fast: false
1615
runs-on: ${{ matrix.os }}
1716
defaults:
@@ -28,7 +27,7 @@ jobs:
2827
- name: Set up Python
2928
uses: actions/setup-python@v5
3029
with:
31-
python-version: ${{ matrix.python-version }}
30+
python-version: "3.11"
3231

3332
- uses: abatilo/actions-poetry@v3
3433

@@ -55,8 +54,9 @@ jobs:
5554
cibuildwheel --output-dir wheelhouse
5655
env:
5756
CIBW_BEFORE_BUILD_LINUX: |
58-
curl -L -o graalvm.tar.gz https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-23.0.2/graalvm-community-linux-amd64-23.0.2.tar.gz
57+
curl -L -o graalvm.tar.gz https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-23.0.2/graalvm-community-jdk-23.0.2_linux-x64_bin.tar.gz
5958
tar -xzf graalvm.tar.gz -C /opt
59+
export JAVA_HOME=/opt/graalvm-ce-23.0.2
6060
export GRAALVM_HOME=/opt/graalvm-ce-23.0.2
6161
export PATH=$GRAALVM_HOME/bin:$PATH
6262
gu install native-image
@@ -69,11 +69,11 @@ jobs:
6969
mkdir -p dist
7070
cp wheelhouse/*.whl dist/
7171
72-
# - name: Publish to PyPI
73-
# run: |
74-
# poetry publish --no-interaction
75-
# env:
76-
# POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
72+
- name: Publish to PyPI
73+
run: |
74+
make publish
75+
env:
76+
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
7777

7878
- name: Setup tmate
7979
if: failure()

0 commit comments

Comments
 (0)