8000 update artifact actions to v4 by briantist · Pull Request #1173 · hvac/hvac · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

update artifact actions to v4 #1173

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
run: poetry build

- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dist_${{ matrix.os }}_py${{ matrix.python-version }}
path: dist/
Expand Down
17 changes: 12 additions & 5 deletions .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ jobs:
tests/unit_tests

- name: Upload unit tests coverage artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage_reports
name: coverage_reports_${{ matrix.python-version }}
path: reports/*.xml
if-no-files-found: error
retention-days: 1
Expand Down Expand Up @@ -248,10 +248,17 @@ jobs:
--cov-report=xml:reports/${COVFILE//[^A-Za-z0-9\-_\.]/_} \
tests/integration_tests

- name: Set safe coverage report name
id: vv
env:
VV: ${{ matrix.vault-version }}
run: |
echo "VV=${VV//[*+]/}" >> "$GITHUB_OUTPUT"

- name: Upload integration tests coverage artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage_reports
name: coverage_reports_${{ matrix.python-version }}_${{ steps.vv.outputs.VV }}
path: reports/*.xml
if-no-files-found: error
retention-days: 1
Expand All @@ -269,7 +276,7 @@ jobs:
show-progress: false

- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4

- name: Upload to Codecov
uses: codecov/codecov-action@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
run: poetry build

- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: package
path: dist/
Expand All @@ -56,7 +56,7 @@ jobs:
url: https://pypi.org/project/hvac/
steps:
- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: package
path: dist
Expand All @@ -74,7 +74,7 @@ jobs:
contents: write
steps:
- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: package
path: dist
Expand Down
Loading
0