Skip to content

Commit 74a0fb9

Browse files
RSDK-9518: upgrade upload artifact to v4 (#152)
* auto format * upgrade version * test * do not prepare either during test * remove prepare * never mind * finalize
1 parent fc3c002 commit 74a0fb9

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/release.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ on:
99
required: true
1010
default: nobump
1111
options:
12-
- major
13-
- minor
14-
- patch
15-
- nobump
12+
- major
13+
- minor
14+
- patch
15+
- nobump
1616

1717
jobs:
1818
prepare:
@@ -30,7 +30,7 @@ jobs:
3030
with:
3131
organization: viamrobotics
3232
username: ${{ github.actor }}
33-
token: ${{ secrets.GITHUB_TOKEN }}
33+
token: ${{ secrets.GITHUB_TOKEN }}
3434

3535
- name: Cancelling - user not part of organization
3636
uses: andymckay/[email protected]
@@ -65,7 +65,7 @@ jobs:
6565
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6666
with:
6767
releaseName: v${{ steps.which_version.outputs.version }}
68-
doNotFailIfNotFound: 'true'
68+
doNotFailIfNotFound: "true"
6969

7070
- name: Cancelling - release already exists
7171
uses: andymckay/[email protected]
@@ -108,9 +108,9 @@ jobs:
108108
- name: Copy
109109
run: cp target/${{ matrix.target }}/release/libviam.dylib builds/libviam-${{ matrix.platform }}.dylib
110110
- name: Upload artifacts
111-
uses: actions/upload-artifact@v3
111+
uses: actions/upload-artifact@v4
112112
with:
113-
name: builds
113+
name: macos-builds-${{ matrix.platform }}
114114
path: builds
115115

116116
build_linux:
@@ -153,9 +153,9 @@ jobs:
153153
- name: Copy
154154
run: cp target/${{ matrix.target }}/release/libviam.so builds/libviam-${{ matrix.platform }}.so
155155
- name: Upload artifacts
156-
uses: actions/upload-artifact@v3
156+
uses: actions/upload-artifact@v4
157157
with:
158-
name: builds
158+
name: linux-builds-${{ matrix.platform }}
159159
path: builds
160160

161161
release:

0 commit comments

Comments
 (0)