Skip to content

Commit

Permalink
updated actions with latest upload-artifact and pypa release versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Srinivas-E committed Oct 4, 2024
1 parent 0d63a48 commit aa9a865
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
CIBW_TEST_SKIP: "*-macosx_arm64 *-macosx_universal2:arm64"
CMAKE_OSX_ARCHITECTURES: "arm64;x86_64"

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: wheelhouse/*.whl

Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
env:
TAG_NAME: ${{ steps.build_names.outputs.TAG_NAME }}

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: python/dist/*.tar.gz

Expand All @@ -101,15 +101,15 @@ jobs:

- name: Production Release
if: startsWith(github.repository, 'MicrochipTech')
uses: pypa/gh-action-pypi-publish@release/v1.5
uses: pypa/gh-action-pypi-publish@release/v1.10.3
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
skip_existing: true

- name: Test Release
if: ${{ !startsWith(github.repository, 'MicrochipTech') }}
uses: pypa/gh-action-pypi-publish@release/v1.5
uses: pypa/gh-action-pypi-publish@release/v1.10.3
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
Expand Down

0 comments on commit aa9a865

Please sign in to comment.