Skip to content

Commit

Permalink
Update build-laplaciannb.yml
Browse files Browse the repository at this point in the history
Install twine explicitly
  • Loading branch information
EdgarHarutyunian authored Feb 7, 2025
1 parent 7533262 commit f4d8bcc
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/build-laplaciannb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,20 @@ jobs:
# Step 3: Install pdm
- name: Install pdm
run: python3 -m pip install --upgrade pip pdm

# Step 4: Build a binary wheel and a source tarball

# Step 4: Install Twine
- name: Install Twine
run: python3 -m pip install --upgrade pip pdm

# Step 5: Build a binary wheel and a source tarball
- name: Build a binary wheel and a source tarball
run: pdm build

# Step 5: Validate the distribution
# Step 6: Validate the distribution
- name: Validate the distribution
run: python3 -m twine check dist/*

# Step 6: Store the distribution artifacts for later use
# Step 7: Store the distribution artifacts for later use
- name: Store the distribution artifacts
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -132,4 +136,4 @@ jobs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./dist/*
asset_name: $(basename $file)
asset_content_type: application/octet-stream
asset_content_type: application/octet-stream

0 comments on commit f4d8bcc

Please sign in to comment.