53 lines
1.6 KiB
YAML
53 lines
1.6 KiB
YAML
name: 'Build anode action'
|
|
description: 'Checkout, build and update the anode action'
|
|
inputs:
|
|
builder-image:
|
|
description: 'OCI image to use for building the action'
|
|
default: git.dzuchun.ing/actions/anode-builder:master
|
|
required: false
|
|
src-repository:
|
|
description: 'Git repository to clone the the action source from'
|
|
required: true
|
|
src-ref:
|
|
description: 'Git tag to clone the action source from'
|
|
required: false
|
|
src-actor:
|
|
description: 'Git use to clone the action source as'
|
|
default: actions
|
|
src-token:
|
|
description: 'Git token to use for cloning the action source'
|
|
required: false
|
|
dst-repository:
|
|
description: 'Git repository to upload the compiled actio to'
|
|
required: true
|
|
dst-ref:
|
|
description: 'Git branch to upload the compiled action to'
|
|
required: false
|
|
dst-actor:
|
|
description: 'Git user to upload the action as'
|
|
required: false
|
|
default: actions
|
|
dst-email:
|
|
description: 'Email of the committer'
|
|
required: true
|
|
dst-name:
|
|
description: 'Name of the committer'
|
|
required: false
|
|
default: actions
|
|
dst-token:
|
|
description: 'Git token to use whiee uploading the action'
|
|
required: false
|
|
opt-release:
|
|
description: 'Use Rust release profile while compiling the action'
|
|
default: false
|
|
opt-build-std:
|
|
description: 'Use nightly Rust toolchain, and `build-std` feature'
|
|
default: false
|
|
opt-upx:
|
|
description: 'Compress the resulting biinary this UPX'
|
|
default: false
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- run: ${{ forgejo.action_path }}/main.sh
|
|
shell: bash
|