Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): bump actions/upload-artifact from 1 to 4 #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/benches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
setarch $(uname -m) -R taskset -c "$(cat /sys/devices/system/cpu/isolated)" make ${{ matrix.target }} | tee target/criterion/out
# We keep the Criterion results no matter what, but where they're uploaded depends on whether
# this is a PR run or a master run.
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: "criterion"
path: "./target/criterion"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/k8s_e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
- run: echo "::add-matcher::.github/matchers/rust.json"
- run: make slim-builds
- run: make package-deb-x86_64-unknown-linux-gnu
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: e2e-test-deb-package
path: target/artifacts/*
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- env:
PASS_FEATURES: "default-cmake"
run: make package-x86_64-unknown-linux-musl-all
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: vector-${{ env.VECTOR_VERSION }}-x86_64-unknown-linux-musl.tar.gz
path: "./target/artifacts/vector-${{ env.VECTOR_VERSION }}-x86_64-unknown-linux-musl.tar.gz"
Expand All @@ -48,7 +48,7 @@ jobs:
run: |
mv "./target/artifacts/vector-${{ env.VECTOR_VERSION }}-x86_64-unknown-linux-gnu.tar.gz" \
"./target/artifacts/vector-${{ env.VECTOR_VERSION }}-x86_64-unknown-linux-gnu-debug.tar.gz"
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: vector-${{ env.VECTOR_VERSION }}-x86_64-unknown-linux-gnu-debug.tar.gz
path: "./target/artifacts/vector-${{ env.VECTOR_VERSION }}-x86_64-unknown-linux-gnu-debug.tar.gz"
Expand All @@ -64,15 +64,15 @@ jobs:
- env:
PASS_FEATURES: "default"
run: make package-x86_64-unknown-linux-gnu-all
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: vector-${{ env.VECTOR_VERSION }}-x86_64-unknown-linux-gnu.tar.gz
path: "./target/artifacts/vector-${{ env.VECTOR_VERSION }}-x86_64-unknown-linux-gnu.tar.gz"
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: vector-${{ env.VECTOR_VERSION }}-amd64.deb
path: "./target/artifacts/vector-${{ env.VECTOR_VERSION }}-amd64.deb"
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: vector-${{ env.VECTOR_VERSION }}-1.x86_64.rpm
path: "./target/artifacts/vector-${{ env.VECTOR_VERSION }}-1.x86_64.rpm"
Expand All @@ -89,7 +89,7 @@ jobs:
DOCKER_PRIVILEGED: "true"
PASS_FEATURES: "default-cmake"
run: make package-aarch64-unknown-linux-musl-all
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: vector-${{ env.VECTOR_VERSION }}-aarch64-unknown-linux-musl.tar.gz
path: "./target/artifacts/vector-${{ env.VECTOR_VERSION }}-aarch64-unknown-linux-musl.tar.gz"
Expand All @@ -106,15 +106,15 @@ jobs:
DOCKER_PRIVILEGED: "true"
PASS_FEATURES: "default"
run: make package-aarch64-unknown-linux-gnu-all
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: vector-${{ env.VECTOR_VERSION }}-aarch64-unknown-linux-gnu.tar.gz
path: "./target/artifacts/vector-${{ env.VECTOR_VERSION }}-aarch64-unknown-linux-gnu.tar.gz"
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: vector-${{ env.VECTOR_VERSION }}-arm64.deb
path: "./target/artifacts/vector-${{ env.VECTOR_VERSION }}-arm64.deb"
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: vector-${{ env.VECTOR_VERSION }}-1.aarch64.rpm
path: "./target/artifacts/vector-${{ env.VECTOR_VERSION }}-1.aarch64.rpm"
Expand All @@ -130,15 +130,15 @@ jobs:
- env:
DOCKER_PRIVILEGED: "true"
run: make package-armv7-unknown-linux-gnueabihf-all
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: vector-${{ env.VECTOR_VERSION }}-armv7-unknown-linux-gnueabihf.tar.gz
path: "./target/artifacts/vector-${{ env.VECTOR_VERSION }}-armv7-unknown-linux-gnueabihf.tar.gz"
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: vector-${{ env.VECTOR_VERSION }}-armhf.deb
path: "./target/artifacts/vector-${{ env.VECTOR_VERSION }}-armhf.deb"
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: vector-${{ env.VECTOR_VERSION }}-1.armv7.rpm
path: "./target/artifacts/vector-${{ env.VECTOR_VERSION }}-1.armv7.rpm"
Expand All @@ -154,7 +154,7 @@ jobs:
- env:
DOCKER_PRIVILEGED: "true"
run: make package-armv7-unknown-linux-musleabihf
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: vector-${{ env.VECTOR_VERSION }}-armv7-unknown-linux-musleabihf.tar.gz
path: "./target/artifacts/vector-${{ env.VECTOR_VERSION }}-armv7-unknown-linux-musleabihf.tar.gz"
Expand Down Expand Up @@ -183,7 +183,7 @@ jobs:
run: |
export PATH="$HOME/.cargo/bin:$PATH"
make package
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: vector-${{ env.VECTOR_VERSION }}-x86_64-apple-darwin.tar.gz
path: "./target/artifacts/vector-${{ env.VECTOR_VERSION }}-x86_64-apple-darwin.tar.gz"
Expand Down Expand Up @@ -250,11 +250,11 @@ jobs:
run: |
export PATH="/c/wix:$PATH"
./scripts/package-msi.sh
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: vector-${{ env.VECTOR_VERSION }}-x86_64-pc-windows-msvc.zip
path: "./target/artifacts/vector-${{ env.VECTOR_VERSION }}-x86_64-pc-windows-msvc.zip"
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: vector-${{ env.VECTOR_VERSION }}-x64.msi
path: "./target/artifacts/vector-${{ env.VECTOR_VERSION }}-x64.msi"
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- env:
PASS_FEATURES: "default-cmake"
run: make package-x86_64-unknown-linux-musl-all
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: vector-${{ env.VECTOR_VERSION }}-x86_64-unknown-linux-musl.tar.gz
path: "./target/artifacts/vector-${{ env.VECTOR_VERSION }}-x86_64-unknown-linux-musl.tar.gz"
Expand All @@ -43,15 +43,15 @@ jobs:
- env:
PASS_FEATURES: "default"
run: make package-x86_64-unknown-linux-gnu-all
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: vector-${{ env.VECTOR_VERSION }}-x86_64-unknown-linux-gnu.tar.gz
path: "./target/artifacts/vector-${{ env.VECTOR_VERSION }}-x86_64-unknown-linux-gnu.tar.gz"
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: vector-${{ env.VECTOR_VERSION }}-amd64.deb
path: "./target/artifacts/vector-${{ env.VECTOR_VERSION }}-amd64.deb"
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: vector-${{ env.VECTOR_VERSION }}-1.x86_64.rpm
path: "./target/artifacts/vector-${{ env.VECTOR_VERSION }}-1.x86_64.rpm"
Expand All @@ -68,7 +68,7 @@ jobs:
DOCKER_PRIVILEGED: "true"
PASS_FEATURES: "default-cmake"
run: make package-aarch64-unknown-linux-musl-all
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: vector-${{ env.VECTOR_VERSION }}-aarch64-unknown-linux-musl.tar.gz
path: "./target/artifacts/vector-${{ env.VECTOR_VERSION }}-aarch64-unknown-linux-musl.tar.gz"
Expand All @@ -85,15 +85,15 @@ jobs:
DOCKER_PRIVILEGED: "true"
PASS_FEATURES: "default"
run: make package-aarch64-unknown-linux-gnu-all
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: vector-${{ env.VECTOR_VERSION }}-aarch64-unknown-linux-gnu.tar.gz
path: "./target/artifacts/vector-${{ env.VECTOR_VERSION }}-aarch64-unknown-linux-gnu.tar.gz"
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: vector-${{ env.VECTOR_VERSION }}-arm64.deb
path: "./target/artifacts/vector-${{ env.VECTOR_VERSION }}-arm64.deb"
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: vector-${{ env.VECTOR_VERSION }}-1.aarch64.rpm
path: "./target/artifacts/vector-${{ env.VECTOR_VERSION }}-1.aarch64.rpm"
Expand All @@ -109,15 +109,15 @@ jobs:
- env:
DOCKER_PRIVILEGED: "true"
run: make package-armv7-unknown-linux-gnueabihf-all
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: vector-${{ env.VECTOR_VERSION }}-armv7-unknown-linux-gnueabihf.tar.gz
path: "./target/artifacts/vector-${{ env.VECTOR_VERSION }}-armv7-unknown-linux-gnueabihf.tar.gz"
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: vector-${{ env.VECTOR_VERSION }}-armhf.deb
path: "./target/artifacts/vector-${{ env.VECTOR_VERSION }}-armhf.deb"
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: vector-${{ env.VECTOR_VERSION }}-1.armv7.rpm
path: "./target/artifacts/vector-${{ env.VECTOR_VERSION }}-1.armv7.rpm"
Expand All @@ -133,7 +133,7 @@ jobs:
- env:
DOCKER_PRIVILEGED: "true"
run: make package-armv7-unknown-linux-musleabihf
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: vector-${{ env.VECTOR_VERSION }}-armv7-unknown-linux-musleabihf.tar.gz
path: "./target/artifacts/vector-${{ env.VECTOR_VERSION }}-armv7-unknown-linux-musleabihf.tar.gz"
Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:
run: |
export PATH="$HOME/.cargo/bin:$PATH"
make package
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: vector-${{ env.VECTOR_VERSION }}-x86_64-apple-darwin.tar.gz
path: "./target/artifacts/vector-${{ env.VECTOR_VERSION }}-x86_64-apple-darwin.tar.gz"
Expand Down Expand Up @@ -229,11 +229,11 @@ jobs:
run: |
export PATH="/c/wix:$PATH"
./scripts/package-msi.sh
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: vector-${{ env.VECTOR_VERSION }}-x86_64-pc-windows-msvc.zip
path: "./target/artifacts/vector-${{ env.VECTOR_VERSION }}-x86_64-pc-windows-msvc.zip"
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: vector-${{ env.VECTOR_VERSION }}-x64.msi
path: "./target/artifacts/vector-${{ env.VECTOR_VERSION }}-x64.msi"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ jobs:
# aarch64 and musl in particular are notoriously hard to link.
# While it may be tempting to slot a `check` in here for quickness, please don't.
- run: make cross-build-${{ matrix.target }}
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: "vector-debug-${{ matrix.target }}"
path: "./target/${{ matrix.target }}/debug/vector"
Expand Down
Loading