From cdcacf2f83d866d79b5a746a1add78e3a7aa9456 Mon Sep 17 00:00:00 2001 From: link2xt Date: Thu, 15 Feb 2024 02:41:21 +0000 Subject: [PATCH] ci: update actions/upload-artifact There are no breaking changes listed in the README that affect our usage. --- .github/workflows/ci.yml | 4 ++-- .github/workflows/deltachat-rpc-server.yml | 6 +++--- .github/workflows/jsonrpc-client-npm-package.yml | 2 +- .github/workflows/node-package.yml | 6 +++--- .github/workflows/repl.yml | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 20c2566545..d55768dc7f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -120,7 +120,7 @@ jobs: run: cargo build -p deltachat_ffi --features jsonrpc - name: Upload C library - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.os }}-libdeltachat.a path: target/debug/libdeltachat.a @@ -142,7 +142,7 @@ jobs: run: cargo build -p deltachat-rpc-server - name: Upload deltachat-rpc-server - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.os }}-deltachat-rpc-server path: ${{ matrix.os == 'windows-latest' && 'target/debug/deltachat-rpc-server.exe' || 'target/debug/deltachat-rpc-server' }} diff --git a/.github/workflows/deltachat-rpc-server.yml b/.github/workflows/deltachat-rpc-server.yml index 4abd9891a1..13d3a4f0a3 100644 --- a/.github/workflows/deltachat-rpc-server.yml +++ b/.github/workflows/deltachat-rpc-server.yml @@ -33,7 +33,7 @@ jobs: run: sh scripts/zig-rpc-server.sh - name: Upload dist directory with Linux binaries - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: linux path: dist/ @@ -66,7 +66,7 @@ jobs: run: cargo build --release --package deltachat-rpc-server --target ${{ matrix.target }} --features vendored - name: Upload binary - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: deltachat-rpc-server-${{ matrix.artifact }} 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 - name: Upload binary - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: deltachat-rpc-server-${{ matrix.arch }}-macos path: target/${{ matrix.arch }}-apple-darwin/release/deltachat-rpc-server diff --git a/.github/workflows/jsonrpc-client-npm-package.yml b/.github/workflows/jsonrpc-client-npm-package.yml index 89735ac619..37821e0a02 100644 --- a/.github/workflows/jsonrpc-client-npm-package.yml +++ b/.github/workflows/jsonrpc-client-npm-package.yml @@ -49,7 +49,7 @@ jobs: ls -lah mv $(find deltachat-jsonrpc-client-*) $DELTACHAT_JSONRPC_TAR_GZ - name: Upload Prebuild - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: deltachat-jsonrpc-client.tgz path: deltachat-jsonrpc/typescript/${{ env.DELTACHAT_JSONRPC_TAR_GZ }} diff --git a/.github/workflows/node-package.yml b/.github/workflows/node-package.yml index bd7d348bdc..3d65d12a0f 100644 --- a/.github/workflows/node-package.yml +++ b/.github/workflows/node-package.yml @@ -56,7 +56,7 @@ jobs: tar -zcvf "${{ matrix.os }}.tar.gz" -C prebuilds . - name: Upload Prebuild - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.os }} path: node/${{ matrix.os }}.tar.gz @@ -125,7 +125,7 @@ jobs: tar -zcvf "linux.tar.gz" -C prebuilds . - name: Upload Prebuild - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: linux path: node/linux.tar.gz @@ -201,7 +201,7 @@ jobs: ls -lah mv $(find deltachat-node-*) $DELTACHAT_NODE_TAR_GZ - name: Upload prebuild - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: deltachat-node.tgz path: ${{ env.DELTACHAT_NODE_TAR_GZ }} diff --git a/.github/workflows/repl.yml b/.github/workflows/repl.yml index ee71ef2f9e..c9c6f7d149 100644 --- a/.github/workflows/repl.yml +++ b/.github/workflows/repl.yml @@ -18,7 +18,7 @@ jobs: run: cargo build -p deltachat-repl --features vendored - name: Upload binary - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: repl.exe path: "target/debug/deltachat-repl.exe"