ci: update actions/upload-artifact

There are no breaking changes listed in the README that affect our usage.
This commit is contained in:
link2xt
2024-02-15 02:41:21 +00:00
parent 51aaaf2e8d
commit cdcacf2f83
5 changed files with 10 additions and 10 deletions

View File

@@ -120,7 +120,7 @@ jobs:
run: cargo build -p deltachat_ffi --features jsonrpc run: cargo build -p deltachat_ffi --features jsonrpc
- name: Upload C library - name: Upload C library
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: ${{ matrix.os }}-libdeltachat.a name: ${{ matrix.os }}-libdeltachat.a
path: target/debug/libdeltachat.a path: target/debug/libdeltachat.a
@@ -142,7 +142,7 @@ jobs:
run: cargo build -p deltachat-rpc-server run: cargo build -p deltachat-rpc-server
- name: Upload deltachat-rpc-server - name: Upload deltachat-rpc-server
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: ${{ matrix.os }}-deltachat-rpc-server name: ${{ matrix.os }}-deltachat-rpc-server
path: ${{ matrix.os == 'windows-latest' && 'target/debug/deltachat-rpc-server.exe' || 'target/debug/deltachat-rpc-server' }} path: ${{ matrix.os == 'windows-latest' && 'target/debug/deltachat-rpc-server.exe' || 'target/debug/deltachat-rpc-server' }}

View File

@@ -33,7 +33,7 @@ jobs:
run: sh scripts/zig-rpc-server.sh run: sh scripts/zig-rpc-server.sh
- name: Upload dist directory with Linux binaries - name: Upload dist directory with Linux binaries
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: linux name: linux
path: dist/ path: dist/
@@ -66,7 +66,7 @@ jobs:
run: cargo build --release --package deltachat-rpc-server --target ${{ matrix.target }} --features vendored run: cargo build --release --package deltachat-rpc-server --target ${{ matrix.target }} --features vendored
- name: Upload binary - name: Upload binary
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: deltachat-rpc-server-${{ matrix.artifact }} name: deltachat-rpc-server-${{ matrix.artifact }}
path: target/${{ matrix.target}}/release/${{ matrix.path }} path: target/${{ matrix.target}}/release/${{ matrix.path }}
@@ -92,7 +92,7 @@ jobs:
run: cargo build --release --package deltachat-rpc-server --target ${{ matrix.arch }}-apple-darwin --features vendored run: cargo build --release --package deltachat-rpc-server --target ${{ matrix.arch }}-apple-darwin --features vendored
- name: Upload binary - name: Upload binary
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: deltachat-rpc-server-${{ matrix.arch }}-macos name: deltachat-rpc-server-${{ matrix.arch }}-macos
path: target/${{ matrix.arch }}-apple-darwin/release/deltachat-rpc-server path: target/${{ matrix.arch }}-apple-darwin/release/deltachat-rpc-server

View File

@@ -49,7 +49,7 @@ jobs:
ls -lah ls -lah
mv $(find deltachat-jsonrpc-client-*) $DELTACHAT_JSONRPC_TAR_GZ mv $(find deltachat-jsonrpc-client-*) $DELTACHAT_JSONRPC_TAR_GZ
- name: Upload Prebuild - name: Upload Prebuild
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: deltachat-jsonrpc-client.tgz name: deltachat-jsonrpc-client.tgz
path: deltachat-jsonrpc/typescript/${{ env.DELTACHAT_JSONRPC_TAR_GZ }} path: deltachat-jsonrpc/typescript/${{ env.DELTACHAT_JSONRPC_TAR_GZ }}

View File

@@ -56,7 +56,7 @@ jobs:
tar -zcvf "${{ matrix.os }}.tar.gz" -C prebuilds . tar -zcvf "${{ matrix.os }}.tar.gz" -C prebuilds .
- name: Upload Prebuild - name: Upload Prebuild
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: ${{ matrix.os }} name: ${{ matrix.os }}
path: node/${{ matrix.os }}.tar.gz path: node/${{ matrix.os }}.tar.gz
@@ -125,7 +125,7 @@ jobs:
tar -zcvf "linux.tar.gz" -C prebuilds . tar -zcvf "linux.tar.gz" -C prebuilds .
- name: Upload Prebuild - name: Upload Prebuild
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: linux name: linux
path: node/linux.tar.gz path: node/linux.tar.gz
@@ -201,7 +201,7 @@ jobs:
ls -lah ls -lah
mv $(find deltachat-node-*) $DELTACHAT_NODE_TAR_GZ mv $(find deltachat-node-*) $DELTACHAT_NODE_TAR_GZ
- name: Upload prebuild - name: Upload prebuild
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: deltachat-node.tgz name: deltachat-node.tgz
path: ${{ env.DELTACHAT_NODE_TAR_GZ }} path: ${{ env.DELTACHAT_NODE_TAR_GZ }}

View File

@@ -18,7 +18,7 @@ jobs:
run: cargo build -p deltachat-repl --features vendored run: cargo build -p deltachat-repl --features vendored
- name: Upload binary - name: Upload binary
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: repl.exe name: repl.exe
path: "target/debug/deltachat-repl.exe" path: "target/debug/deltachat-repl.exe"