-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Update GitHub Actions versions (#131)
* Update GitHub Actions: - actions/checkout to v4 - actions/setup-python to v5 - upload-artifact to v4 - download-artifact to v4 - pypa/gh-action-pypi-publis to v1.8.11 - docker/setup-qemu-action to v3 - docker/setup-buildx-action to v3 - docker/login-action to v3 - docker/build-push-action to v5
- Loading branch information
1 parent
c86b8e9
commit b01eada
Showing
6 changed files
with
27 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,12 +22,12 @@ jobs: | |
steps: | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.x' | ||
|
||
|
@@ -55,7 +55,7 @@ jobs: | |
run: python -m zipfile --list dist/recast_atlas-*.whl | ||
|
||
- name: Upload distribution artifact | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: dist-artifact | ||
path: dist | ||
|
@@ -75,7 +75,7 @@ jobs: | |
|
||
steps: | ||
- name: Download distribution artifact | ||
uses: actions/download-artifact@v3 | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: dist-artifact | ||
path: dist | ||
|
@@ -86,13 +86,13 @@ jobs: | |
- name: Publish distribution 📦 to Test PyPI | ||
# publish to TestPyPI on tag events | ||
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'recast-hep/recast-atlas' | ||
uses: pypa/[email protected].6 | ||
uses: pypa/[email protected].11 | ||
with: | ||
repository-url: https://test.pypi.org/legacy/ | ||
print-hash: true | ||
|
||
- name: Publish distribution 📦 to PyPI | ||
if: github.event_name == 'release' && github.event.action == 'published' && github.repository == 'recast-hep/recast-atlas' | ||
uses: pypa/[email protected].6 | ||
uses: pypa/[email protected].11 | ||
with: | ||
print-hash: true |