Skip to content

Commit

Permalink
👷 use new version to build python package in github action ci.
Browse files Browse the repository at this point in the history
  • Loading branch information
perillaroc committed Nov 4, 2024
1 parent 28f33c7 commit 1c5da49
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,28 +1,22 @@
name: ci-build

on: [push]
on: push

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.11", "3.12"]

steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install build
- name: Install reki
run: |
python -m pip install -e .
- name: Build
run: |
python -m build
- name: Install pypa/build
run: >-
python -m pip install build --user
- name: Build a binary wheel and a source tarball
run: python -m build

0 comments on commit 1c5da49

Please sign in to comment.