Skip to content

Commit

Permalink
Update build test
Browse files Browse the repository at this point in the history
  • Loading branch information
DanSheps committed Sep 13, 2024
1 parent 2b6b77c commit 98191cd
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
name: Build Test
on: [push, pull_request]
jobs:
pypi-publish:
name: Test Build Process
build:
name: Build Distribution
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
strategy:
matrix:
python-version: [3.12]
environment:
name: build
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --upgrade setuptools wheel
- name: Install pypa/build
run: python3 -m pip install build --user
- name: Build
python -m pip install build --user
- name: Build a binary wheel and a source tarball
run: python -m build
- name: Store the distribution packages
uses: actions/upload-artifact@v4
with:
name: python-package-distributions
path: dist/

0 comments on commit 98191cd

Please sign in to comment.