Skip to content

Commit

Permalink
CI/CD: Use lastest GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bnjmnp committed Feb 3, 2024
1 parent f9af3b5 commit a136fd6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,29 +13,29 @@ jobs:
os: [ubuntu-20.04, windows-2019, macos-12]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Build wheels
uses: pypa/[email protected].2
uses: pypa/[email protected].5

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

build_sdist:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Build sdist
run: pipx run build --sdist

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

Expand All @@ -44,12 +44,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: artifact
path: dist

- uses: pypa/[email protected].10
- uses: pypa/[email protected].11
with:
user: __token__
password: ${{ secrets.TEST_PYPI_PYSOEM_ACCESS_TOKEN }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/release_triggerd_build_and_upload_to_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,29 @@ jobs:
os: [ubuntu-20.04, windows-2019, macos-12]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Build wheels
uses: pypa/[email protected].2
uses: pypa/[email protected].5

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

build_sdist:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Build sdist
run: pipx run build --sdist

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

Expand All @@ -46,12 +46,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: artifact
path: dist

- uses: pypa/[email protected].10
- uses: pypa/[email protected].11
with:
user: __token__
password: ${{ secrets.PYPI_PYSOEM_ACCESS_TOKEN }}

0 comments on commit a136fd6

Please sign in to comment.