Skip to content

Commit

Permalink
CI: fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Arun Persaud committed Oct 19, 2024
1 parent 46b99de commit 3906fac
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/make-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,25 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-python@v5
with:
python-version: "3.x"

- name: Build release distributions
run: |
# NOTE: put your own distribution build steps here.
# check out latest tag
git checkout $(git describe --tags --abbrev=0)
# NOTE: put your own distribution build steps here.
python -m pip install build
python -m build

- name: Upload distributions
uses: actions/upload-artifact@v4
with:
name: release-dists
name: python-package-distributions
path: dist/

github-release:
Expand Down Expand Up @@ -81,7 +85,7 @@ jobs:
- name: Retrieve release distributions
uses: actions/download-artifact@v4
with:
name: release-dists
name: python-package-distributions
path: dist/

- name: Publish release distributions to PyPI
Expand Down

0 comments on commit 3906fac

Please sign in to comment.