Skip to content

Commit 062c132

Browse files
build: update actions/upload-artifact and actions/download-artifact (#1053)
Source-Link: googleapis/synthtool@280ddae Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:346ab2efb51649c5dde7756cbbdc60dd394852ba83b9bbffc292a63549f33c17 Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent a0eba77 commit 062c132

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/.OwlBot.lock.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
# limitations under the License.
1414
docker:
1515
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
16-
digest: sha256:230f7fe8a0d2ed81a519cfc15c6bb11c5b46b9fb449b8b1219b3771bcb520ad2
17-
# created: 2023-12-09T15:16:25.430769578Z
16+
digest: sha256:346ab2efb51649c5dde7756cbbdc60dd394852ba83b9bbffc292a63549f33c17
17+
# created: 2023-12-14T22:17:57.611773021Z

.github/workflows/unittest.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ jobs:
2626
run: |
2727
nox -s unit-${{ matrix.python }}
2828
- name: Upload coverage results
29-
uses: actions/upload-artifact@v3
29+
uses: actions/upload-artifact@v4
3030
with:
31-
name: coverage-artifacts
31+
name: coverage-artifact-${{ matrix.python }}
3232
path: .coverage-${{ matrix.python }}
3333

3434
cover:
@@ -47,11 +47,11 @@ jobs:
4747
python -m pip install --upgrade setuptools pip wheel
4848
python -m pip install coverage
4949
- name: Download coverage results
50-
uses: actions/download-artifact@v3
50+
uses: actions/download-artifact@v4
5151
with:
52-
name: coverage-artifacts
5352
path: .coverage-results/
5453
- name: Report coverage results
5554
run: |
56-
coverage combine .coverage-results/.coverage*
55+
find .coverage-results -type f -name '*.zip' -exec unzip {} \;
56+
coverage combine .coverage-results/**/.coverage*
5757
coverage report --show-missing --fail-under=100

0 commit comments

Comments
 (0)