Skip to content

Commit

Permalink
fix: workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmuente committed Sep 17, 2021
1 parent 2373c8f commit b975325
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions ci/github-actions/build.sh
Expand Up @@ -40,9 +40,9 @@ for BINARY in $BINARIES; do
if [ -x "./build.sh" ]; then
OUTPUT=$(./build.sh "${CMD_PATH}" "${OUTPUT_DIR}")
else
rustup target add x86_64-unknown-linux-gnu
cargo build --release --target x86_64-unknown-linux-gnu --bin "$BINARY"
OUTPUT=$(find "target/x86_64-unknown-linux-gnu/release/" -maxdepth 1 -type f -executable \( -name "${BINARY}" -o -name "${BINARY}.*" \) -print0 | xargs -0)
rustup target add x86_64-unknown-linux-musl
cargo build --release --target x86_64-unknown-linux-musl --bin "$BINARY"
OUTPUT=$(find "target/x86_64-unknown-linux-musl/release/" -maxdepth 1 -type f -executable \( -name "${BINARY}" -o -name "${BINARY}.*" \) -print0 | xargs -0)
fi

info "$OUTPUT"
Expand Down
2 changes: 1 addition & 1 deletion ci/github-actions/entrypoint.sh
Expand Up @@ -29,7 +29,7 @@ fi
UPLOAD_URL=${UPLOAD_URL/\{?name,label\}/}
RELEASE_NAME=$(echo "$EVENT_DATA" | jq -r .release.tag_name)
PROJECT_NAME=$(basename "$GITHUB_REPOSITORY")
NAME="${NAME:-${PROJECT_NAME}_${RELEASE_NAME}}_x86_64-unknown-linux-gnu"
NAME="${NAME:-${PROJECT_NAME}_${RELEASE_NAME}}_x86_64-unknown-linux-musl"
ARCHIVE_TYPES="${ARCHIVE_TYPES:-"tar.xz"}"
EXTRA_FILES="${EXTRA_FILES:-""}"

Expand Down

0 comments on commit b975325

Please sign in to comment.