asklyphe/.forgejo/build-service/action.yml
husky 73463a8d21
Some checks failed
/ build-all-services (push) Failing after 0s
initial CI impl
2025-03-12 15:21:58 -07:00

17 lines
No EOL
474 B
YAML

inputs:
service-name:
description: 'name of the service to build and upload'
required: true
runs:
using: "composite"
steps:
- uses: actions/checkout@v4
- run: |
mkdir -pv artifacts
cargo build --release --bin ${{ inputs.service-name }}
mv target/release/${{ inputs.service-name }} artifacts/
shell: bash
- uses: actions/upload-artifact@v3
with:
name: "${{ inputs.service-name }}"
path: artifacts/