Skip to content

Commit

Permalink
Patch download-artifact vulnerability
Browse files Browse the repository at this point in the history
  • Loading branch information
Erotemic committed Sep 15, 2024
1 parent 4ad3f95 commit a3fda48
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
echo "MOD_DPATH = $MOD_DPATH"
python -m pytest --verbose --cov=line_profiler $MOD_DPATH ../tests
cd ..
- uses: actions/upload-artifact@v4.3.1
- uses: actions/upload-artifact@v4.4.0
name: Upload sdist artifact
with:
name: sdist_wheels
Expand Down Expand Up @@ -182,7 +182,7 @@ jobs:
with:
file: ./coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}
- uses: actions/upload-artifact@v4.3.1
- uses: actions/upload-artifact@v4.4.0
name: Upload wheels artifact
with:
name: wheels-${{ matrix.os }}-${{ matrix.arch }}
Expand Down Expand Up @@ -323,7 +323,7 @@ jobs:
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- uses: actions/[email protected].2
- uses: actions/[email protected].8
name: Download wheels
with:
pattern: wheels-*
Expand Down Expand Up @@ -419,13 +419,13 @@ jobs:
steps:
- name: Checkout source
uses: actions/[email protected]
- uses: actions/[email protected].2
- uses: actions/[email protected].8
name: Download wheels
with:
pattern: wheels-*
merge-multiple: true
path: wheelhouse
- uses: actions/[email protected].2
- uses: actions/[email protected].8
name: Download sdist
with:
name: sdist_wheels
Expand Down Expand Up @@ -474,7 +474,7 @@ jobs:
ots stamp wheelhouse/*.whl wheelhouse/*.tar.gz wheelhouse/*.asc
ls -la wheelhouse
twine upload --username __token__ --password "$TWINE_PASSWORD" --repository-url "$TWINE_REPOSITORY_URL" wheelhouse/*.whl wheelhouse/*.tar.gz --skip-existing --verbose || { echo "failed to twine upload" ; exit 1; }
- uses: actions/upload-artifact@v4.3.1
- uses: actions/upload-artifact@v4.4.0
name: Upload deploy artifacts
with:
name: deploy_artifacts
Expand All @@ -494,13 +494,13 @@ jobs:
steps:
- name: Checkout source
uses: actions/[email protected]
- uses: actions/[email protected].2
- uses: actions/[email protected].8
name: Download wheels
with:
pattern: wheels-*
merge-multiple: true
path: wheelhouse
- uses: actions/[email protected].2
- uses: actions/[email protected].8
name: Download sdist
with:
name: sdist_wheels
Expand Down Expand Up @@ -549,7 +549,7 @@ jobs:
ots stamp wheelhouse/*.whl wheelhouse/*.tar.gz wheelhouse/*.asc
ls -la wheelhouse
twine upload --username __token__ --password "$TWINE_PASSWORD" --repository-url "$TWINE_REPOSITORY_URL" wheelhouse/*.whl wheelhouse/*.tar.gz --skip-existing --verbose || { echo "failed to twine upload" ; exit 1; }
- uses: actions/upload-artifact@v4.3.1
- uses: actions/upload-artifact@v4.4.0
name: Upload deploy artifacts
with:
name: deploy_artifacts
Expand All @@ -570,7 +570,7 @@ jobs:
steps:
- name: Checkout source
uses: actions/[email protected]
- uses: actions/[email protected].2
- uses: actions/[email protected].8
name: Download artifacts
with:
name: deploy_artifacts
Expand Down

0 comments on commit a3fda48

Please sign in to comment.