Skip to content

Commit

Permalink
πŸ‘· ci: improve publish
Browse files Browse the repository at this point in the history
  • Loading branch information
zrr1999 committed Dec 16, 2023
1 parent ffc4ec5 commit 60c7724
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,18 @@ jobs:
with:
python-version: "3.12"
- name: Build package πŸ‘·β€β™‚οΈ
env:
PDM_IGNORE_SCM_VERSION: ${{ github.ref_name }}
PYFUTURE_TARGET: ${{ matrix.target-version }}
run: |
pdm install
PDM_BUILD_SCM_VERSION=${{ github.ref_name }} PYFUTURE_TARGET=${{ matrix.target-version }} pdm build --no-isolation
pdm build --no-isolation --no-sdist
- name: Upload wheels πŸ‘·β€β™‚οΈ
uses: actions/upload-artifact@v3
with:
name: wheels
path: dist

publish-release:
runs-on: ubuntu-latest
permissions:
Expand Down

0 comments on commit 60c7724

Please sign in to comment.