Skip to content

Commit

Permalink
Merge pull request #48 from OWASP/dependabot/github_actions/actions/u…
Browse files Browse the repository at this point in the history
…pload-artifact-4

Bump actions/upload-artifact from 3 to 4
  • Loading branch information
commjoen authored Dec 15, 2023
2 parents 20c825a + 8a7770b commit dc89a7d
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 22 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/compile_c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
(cd c && make CFLAGS+='-target arm64-apple-macos12' OUT='../target/wrongsecrets-c-arm')
(cd c/advanced && make CFLAGS+='-target arm64-apple-macos12' OUT='../../target/wrongsecrets-advanced-c-arm')
- name: Uploading C executables
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: executable-C-MacOS
path: target/*
Expand All @@ -43,7 +43,7 @@ jobs:
gcc c/main.c -o target/wrongsecrets-c-linux
gcc c/advanced/advanced.c -o target/wrongsecrets-advanced-c-linux
- name: Uploading C executables
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: executable-C-linux-x64
path: target/*
Expand All @@ -64,7 +64,7 @@ jobs:
./dockcross-linux-arm64-lts bash -c '$CC c/main.c -o target/wrongsecrets-c-linux-arm'
./dockcross-linux-arm64-lts bash -c '$CC c/advanced/advanced.c -o target/wrongsecrets-advanced-c-linux-arm'
- name: Uploading executables
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: executable-C-linux-ARM
path: target/*
Expand All @@ -85,7 +85,7 @@ jobs:
./dockcross-windows-static-x64 bash -c '$CC c/main.c -o target/wrongsecrets-c-windows'
./dockcross-windows-static-x64 bash -c '$CC c/advanced/advanced.c -o target/wrongsecrets-advanced-c-windows'
- name: Uploading executables
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: executable-C-Windows
path: target/*
Expand All @@ -106,7 +106,7 @@ jobs:
./dockcross-linux-arm64-musl bash -c '$CC c/main.c -o target/wrongsecrets-c-linux-musl-arm'
./dockcross-linux-arm64-musl bash -c '$CC c/advanced/advanced.c -o target/wrongsecrets-advanced-c-linux-musl-arm'
- name: Uploading executables
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: executable-C-Musl-ARM
path: target/*
Expand All @@ -125,7 +125,7 @@ jobs:
x86_64-linux-musl-gcc c/main.c -o target/wrongsecrets-c-linux-musl
x86_64-linux-musl-gcc c/advanced/advanced.c -o target/wrongsecrets-advanced-c-linux-musl
- name: Uploading executables
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: executable-C-Musl-x64
path: target/*
12 changes: 6 additions & 6 deletions .github/workflows/compile_cplus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
echo "Compiling CPlus for ARM Macos-X"
(cd cplus && make CXXFLAGS+='-target arm64-apple-macos12' OUT='../target/wrongsecrets-cplus-arm')
- name: Uploading executables
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: executable-CPlus-MacOS
path: target/*
Expand All @@ -40,7 +40,7 @@ jobs:
echo "Compiling CPlus for Linux-x64"
g++ cplus/main.cpp -o target/wrongsecrets-cplus-linux
- name: Uploading executables
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: executable-CPlus-linux-x64
path: target/*
Expand All @@ -60,7 +60,7 @@ jobs:
echo "Compiling C for Linux-arm"
./dockcross-linux-arm64-lts bash -c 'g++ cplus/main.cpp -o target/wrongsecrets-cplus-linux-arm'
- name: Uploading executables
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: executable-CPlus-linux-ARM
path: target/*
Expand All @@ -80,7 +80,7 @@ jobs:
echo "Compiling CPlus for Windows"
./dockcross-windows-static-x64 bash -c 'g++ cplus/main.cpp -o target/wrongsecrets-cplus-windows'
- name: Uploading executables
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: executable-CPlus-Windows
path: target/*
Expand All @@ -100,7 +100,7 @@ jobs:
echo "Compiling Cplus for Arm Musl"
./dockcross-linux-arm64-musl bash -c 'g++ cplus/main.cpp -lstdc++ -o target/wrongsecrets-cplus-linux-musl-arm'
- name: Uploading executables
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: executable-Cplus-Musl-ARM
path: target/*
Expand All @@ -118,7 +118,7 @@ jobs:
echo "Compiling Cplus for X64 Musl"
x86_64-linux-musl-gcc cplus/main.cpp -lstdc++ -o target/wrongsecrets-cplus-linux-musl
- name: Uploading executables
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: executable-Cplus-Musl-x64
path: target/*
8 changes: 4 additions & 4 deletions .github/workflows/compile_golang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
echo "Compiling Golang for ARM Macos-X"
env GOARCH=arm64 GOOS=darwin go build -o ../target/wrongsecrets-go-arm
- name: Uploading Go executables
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: executable-Go-MacOS
path: target/*
Expand All @@ -51,7 +51,7 @@ jobs:
echo "Compiling Golang for Linux-x64"
go build -o ../target/wrongsecrets-go-linux main.go
- name: Uploading Go executables
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: executable-Go-linux-x64
path: target/*
Expand All @@ -71,7 +71,7 @@ jobs:
echo "Compiling Golang for Linux-arm"
env GOARCH=arm64 GOOS=linux go build -o ../target/wrongsecrets-go-linux main.go
- name: Uploading executables
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: executable-Go-linux-ARM
path: target/*
Expand All @@ -91,7 +91,7 @@ jobs:
echo "compiling golang for Windows"
env GOOS=windows GOARCH=amd64 go build -o ../wrongsecrets-golang-windows.exe
- name: Uploading executables
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: executable-Go-Windows
path: target/*
12 changes: 6 additions & 6 deletions .github/workflows/compile_rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
rustup target add x86_64-apple-darwin
cargo build --target x86_64-apple-darwin --release
- name: Uploading Rust executables
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: executable-Rust-MacOS
path: rust/target/x86_64-apple-darwin/release/rust
Expand All @@ -42,7 +42,7 @@ jobs:
cross build --target aarch64-unknown-linux-gnu --release
cp target/aarch64-unknown-linux-gnu/release/rust ../wrongsecrets-rust-linux-arm
- name: Uploading Rust executables
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: executable-Rust-linux-x64
path: rust/target/aarch64-unknown-linux-gnu/release/rust
Expand All @@ -60,7 +60,7 @@ jobs:
cross build --target x86_64-unknown-linux-gnu --release
cp target/x86_64-unknown-linux-gnu/release/rust ../wrongsecrets-rust-linux
- name: Uploading Rust executables
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: executable-Rust-linux-ARM
path: rust/target/x86_64-unknown-linux-gnu/release/rust
Expand All @@ -79,7 +79,7 @@ jobs:
cargo build --target=x86_64-pc-windows-gnu --release
cp target/x86_64-pc-windows-gnu/release/rust.exe ../wrongsecrets-rust-windows.exe
- name: Uploading Rust executables
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: executable-Rust-Windows
path: rust/target/x86_64-pc-windows-gnu/release/rust.exe
Expand All @@ -98,7 +98,7 @@ jobs:
cargo build --target aarch64-unknown-linux-musl --release
cp target/aarch64-unknown-linux-musl/release/rust ../wrongsecrets-rust-linux-musl-arm
- name: Uploading Rust executables
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: executable-Rust-Musl(ARM)
path: rust/target/aarch64-unknown-linux-musl/release/rust
Expand All @@ -117,7 +117,7 @@ jobs:
cargo build --target x86_64-unknown-linux-musl --release
cp target/x86_64-unknown-linux-musl/release/rust ../wrongsecrets-rust-linux-musl
- name: Uploading Rust executables
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: executable-Rust-Musl(x86)
path: rust/target/x86_64-unknown-linux-musl/release/rust

0 comments on commit dc89a7d

Please sign in to comment.