2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-11-01 18:19:56 +00:00
pict-rs/.forgejo/actions/build-amd64/action.yaml
2024-02-07 13:52:21 -06:00

25 lines
547 B
YAML

name: Build x86_64 Rust Binary
desctiption: Compiles a rust binary with a bespoke rust image
inputs:
name:
description: Name of the binary being compiled
required: true
action:
description: Action to take
required: true
default: build
build_mode:
description: debug or release
required: true
default: debug
outputs:
path:
description: Path to the produced binary
runs:
using: docker
image: Dockerfile
steps:
args:
- ${{ inputs.name }}
- ${{ inputs.action }}
- ${{ inputs.build_mode }}