Skip to content

Commit 06ea178

Browse files
authored
RSDK-9218: Move upload-artifacts to v4. (viamrobotics#4532)
1 parent 63f3ced commit 06ea178

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

.github/workflows/appimage.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124
# note: we do this because uname sees the arm64 kernel underneath the armhf container
125125
- name: fix platform detection
126126
run: mv bin/`uname -s`-`uname -m` bin/`uname -s`-armv7l
127-
- uses: actions/upload-artifact@v3
127+
- uses: actions/upload-artifact@v4
128128
with:
129129
name: appimage-static-32bit
130130
path: |
@@ -157,7 +157,7 @@ jobs:
157157
DPKG_ARCH: armhf
158158
APPIMAGE_ARCH: armhf
159159
run: make appimage-arch
160-
- uses: actions/upload-artifact@v3
160+
- uses: actions/upload-artifact@v4
161161
with:
162162
name: appimage-armhf
163163
path: etc/packaging/appimages/deploy

.github/workflows/droid.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
BUILD_CHANNEL: ${{ inputs.release_type }}
5454
run: make server-android
5555

56-
- uses: actions/upload-artifact@v3
56+
- uses: actions/upload-artifact@v4
5757
with:
5858
name: viam-server-android
5959
path: ${{ env.TARGET }}

.github/workflows/macos.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
brew install ffmpeg
2626
- name: build
2727
run: go build ./web/cmd/server
28-
- uses: actions/upload-artifact@v3
28+
- uses: actions/upload-artifact@v4
2929
with:
3030
name: viam-server-macos
3131
path: server

.github/workflows/motion-benchmarks.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -35,30 +35,30 @@ jobs:
3535

3636
- name: Run motion quality tests on main branch
3737
shell: bash
38-
env:
38+
env:
3939
URL: ${{ github.event.pull_request.base.repo.html_url }}
4040
SHA: ${{ github.event.pull_request.base.sha }}
4141
run: |
4242
cd motion-testing
4343
go mod edit -replace go.viam.com/rdk=${URL#"https://"}@$SHA
4444
sudo -Hu testbot bash -lc "go mod tidy && go test ./... -v -run TestDefault --name=$BASELINE"
45-
45+
4646
- name: Run motion quality tests on PR branch
4747
shell: bash
48-
env:
48+
env:
4949
URL: ${{ github.event.pull_request.head.repo.html_url }}
5050
SHA: ${{ github.event.pull_request.head.sha }}
5151
run: |
5252
cd motion-testing
5353
go mod edit -replace go.viam.com/rdk=${URL#"https://"}@$SHA
5454
sudo -Hu testbot bash -lc "go mod tidy && go test ./... -v -run TestDefault --name=$MODIFIED"
55-
55+
5656
- name: Print results
5757
run: |
5858
cd motion-testing
5959
sudo -Hu testbot bash -lc "go test ./... -v -run TestScores --baselineDir=$BASELINE --modifiedDir=$MODIFIED"
6060
cat results/motion-benchmarks.md
61-
61+
6262
# Now that RDK is public, can't directly comment without token having full read/write access
6363
# motion-benchmarks-comment.yml will trigger seperately and post the actual comments
6464

@@ -67,7 +67,7 @@ jobs:
6767
echo "PR_NUMBER=${{ github.event.pull_request.number }}" >> pr.env
6868
6969
- name: Upload results
70-
uses: actions/upload-artifact@v3
70+
uses: actions/upload-artifact@v4
7171
with:
7272
name: pr-motion-benchmark
7373
path: |

.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
7979
- name: Upload test.json
8080
if: always()
81-
uses: actions/upload-artifact@v3
81+
uses: actions/upload-artifact@v4
8282
with:
8383
name: test-${{ matrix.platform_name }}.json
8484
path: json.log
@@ -147,7 +147,7 @@ jobs:
147147
sudo --preserve-env=MONGODB_TEST_OUTPUT_URI,GITHUB_SHA,GITHUB_RUN_ID,GITHUB_RUN_NUMBER,GITHUB_RUN_ATTEMPT,GITHUB_X_PR_BASE_SHA,GITHUB_X_PR_BASE_REF,GITHUB_X_HEAD_REF,GITHUB_X_HEAD_SHA,GITHUB_REPOSITORY -Hu testbot bash -lc 'make cover-only'
148148
149149
- name: Upload code coverage
150-
uses: actions/upload-artifact@v3
150+
uses: actions/upload-artifact@v4
151151
with:
152152
name: pr-code-coverage
153153
path: |

0 commit comments

Comments
 (0)