fix: remove default input value and update output setting in OrchestratorCI workflow
This commit is contained in:
7
.github/workflows/orchestratorci.yml
vendored
7
.github/workflows/orchestratorci.yml
vendored
@@ -6,18 +6,17 @@ on:
|
|||||||
spec:
|
spec:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
default: "x86"
|
|
||||||
outputs:
|
outputs:
|
||||||
runner_id:
|
runner_id:
|
||||||
description: "The result of the orchestrator job"
|
description: "The result of the orchestrator job"
|
||||||
value: ${{ steps.provisioning.outputs.runner_id }}
|
value: ${{ jobs.provisioning.outputs.runner_id }} # Gunakan jobs
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
provisioning:
|
provisioning:
|
||||||
runs-on: gitea-orchestrator
|
runs-on: gitea-orchestrator
|
||||||
name: OrchestratorCI Job
|
name: OrchestratorCI Job
|
||||||
outputs:
|
outputs:
|
||||||
result: ${{ steps.provisioning.outputs.result }}
|
runner_id: ${{ steps.provisioning.outputs.runner_id }} # Sesuaikan nama
|
||||||
steps:
|
steps:
|
||||||
- name: Run OrchestratorCI
|
- name: Run OrchestratorCI
|
||||||
id: provisioning
|
id: provisioning
|
||||||
@@ -25,4 +24,4 @@ jobs:
|
|||||||
echo "Running OrchestratorCI with spec: ${{ inputs.spec }}"
|
echo "Running OrchestratorCI with spec: ${{ inputs.spec }}"
|
||||||
# Placeholder for actual OrchestratorCI commands
|
# Placeholder for actual OrchestratorCI commands
|
||||||
# Simulate a result output
|
# Simulate a result output
|
||||||
echo "::set-output name=runner_id::pandeganteng"
|
echo "runner_id=pandeganteng" >> $GITHUB_OUTPUT
|
||||||
Reference in New Issue
Block a user