Skip to content

Commit

Permalink
Use v4 of upload/download-artifact github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jemoreira committed Nov 7, 2024
1 parent 0f3f55c commit 7fe748f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/artifacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Build debs.tar
run: find . -name 'cuttlefish-*.deb' -print0 | tar -cvf debs.tar --null --files-from -
- name: Publish debs.tar
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: debs
path: debs.tar
Expand All @@ -39,15 +39,15 @@ jobs:
- name: Checkout repository
uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675 # aka v2
- name: Download debs.tar
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: debs
- name: Untar debs.tar
run: tar -xf debs.tar
- name: Build image
run: bash tools/buildimage/main.sh
- name: Publish image
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: image_gce_debian11_amd64
path: image.tar.gz
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/presubmit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
- name: Test cvd
run: cd base/cvd && bazel test --sandbox_writable_path=$HOME --test_output=errors ...
- name: Upload test logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: testlogs
path: bazel-testlogs
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
bazel test --sandbox_writable_path=$HOME --test_output=errors --local_test_jobs=1 --test_timeout=480 orchestration/...
- name: Upload test logs
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: testlogs
path: e2etests/bazel-testlogs

0 comments on commit 7fe748f

Please sign in to comment.