Create test-workflow.yml #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Rust Release binary | ||
uses: rust-build/[email protected] | ||
with: | ||
# Output target | ||
RUSTTARGET: | ||
# List of extra files to include in build | ||
EXTRA_FILES: # optional | ||
# Path to directory containing Cargo.toml (defaults to project root) | ||
SRC_DIR: # optional | ||
# List of archive types to publish the binaries with, default "zip", supports zip and all tar formats | ||
ARCHIVE_TYPES: # optional | ||
# Full name of archive to upload (you must specify file extension and change this if building multiple targets) | ||
ARCHIVE_NAME: # optional | ||
# Relative path of script to run before building | ||
PRE_BUILD: # optional | ||
# Relative path of script to run after building | ||
POST_BUILD: # optional | ||
# If set to "true", the resulting binary will be stripped and compressed by UPX. ("false" by default) | ||
MINIFY: # optional | ||
# The rust toolchain version to use (see https://rust-lang.github.io/rustup/concepts/toolchains.html#toolchain-specification) | ||
TOOLCHAIN_VERSION: # optional | ||
# What method to use to upload compiled binaries, supported values: (release, none), default: release | ||
UPLOAD_MODE: # optional | ||
# Whether to statically link dependencies | ||
STATIC_LINKING: # optional | ||
# Extra flags to give to cargo build (space separated) | ||
EXTRA_COMMAND_FLAGS: # optional | ||
# Extra features to enable for the build | ||
EXTRA_FEATURES: # optional | ||
# Features to enable for the build (implies --no-default-features) | ||
FEATURES: # optional | ||