buildci: generalise for all push events and PRs
This means that tags are included now Signed-off-by: Gunwant Jain <mail@wantguns.dev>
This commit is contained in:
4
.github/buildci.sh
vendored
4
.github/buildci.sh
vendored
@@ -16,7 +16,7 @@ setup_cross_compiling() {
|
||||
# Building for the given architecture
|
||||
build_for_arch() {
|
||||
__ARCH=$1
|
||||
__SHA=$2
|
||||
__REF=$2
|
||||
|
||||
# Statically compile
|
||||
case "$__ARCH" in \
|
||||
@@ -29,5 +29,5 @@ build_for_arch() {
|
||||
|
||||
# Export them artifacts
|
||||
mkdir -p artifacts
|
||||
cp -av /home/runner/.cargo/bin/bin "artifacts/bin-$__SHA-$__TARGET"
|
||||
cp -av /home/runner/.cargo/bin/bin "artifacts/bin-$__REF-$__TARGET"
|
||||
}
|
||||
Reference in New Issue
Block a user