Skip to content

Commit

Permalink
Update GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
koenvo committed Aug 13, 2024
1 parent f4606ee commit 1a4ea37
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release Python
name: Release


# Most parts are borrowed from https://github.com/pola-rs/polars/blob/main/.github/workflows/release-python.yml
Expand All @@ -16,6 +16,8 @@ on:
description: Dry run
type: boolean
default: false
env:
PYTHON_VERSION: '3.11'

defaults:
run:
Expand All @@ -31,6 +33,11 @@ jobs:
with:
ref: ${{ inputs.sha }}

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Create source distribution
run: python setup.py sdist

Expand All @@ -54,6 +61,11 @@ jobs:
with:
ref: ${{ inputs.sha }}

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Build wheel
run: python setup.py bdist_wheel

Expand Down

0 comments on commit 1a4ea37

Please sign in to comment.