Skip to content

Commit

Permalink
Merge pull request #163 from Chia-Network/EL.workflow-updates
Browse files Browse the repository at this point in the history
Remove python 3.8 and update workflow to actually make source tarball
  • Loading branch information
emlowe authored Oct 23, 2024
2 parents 3ab4dd6 + 6765448 commit f460007
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12']
python-version: [ '3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
with:
Expand Down
27 changes: 10 additions & 17 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,18 @@ jobs:
- run: |
git fetch origin +refs/tags/*:refs/tags/*
- name: Set up Python 3.8
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: 3.8

- name: Install pep517
run: >-
python -m
pip install
pep517
--user
- name: Build a binary wheel and a source tarball
run: >-
python -m
pep517.build
--binary
--out-dir dist/
.
python-version: "3.10"

- name: Build a binary wheel and a source tarball
run: |
python -m venv venv
source venv/bin/activate
python -m pip install --upgrade pip
pip install build
python -m build --outdir dist/ .
- name: Upload artifacts
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit f460007

Please sign in to comment.