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:
|
||||
required: true
|
||||
type: string
|
||||
default: "x86"
|
||||
outputs:
|
||||
runner_id:
|
||||
description: "The result of the orchestrator job"
|
||||
value: ${{ steps.provisioning.outputs.runner_id }}
|
||||
value: ${{ jobs.provisioning.outputs.runner_id }} # Gunakan jobs
|
||||
|
||||
jobs:
|
||||
provisioning:
|
||||
runs-on: gitea-orchestrator
|
||||
name: OrchestratorCI Job
|
||||
outputs:
|
||||
result: ${{ steps.provisioning.outputs.result }}
|
||||
runner_id: ${{ steps.provisioning.outputs.runner_id }} # Sesuaikan nama
|
||||
steps:
|
||||
- name: Run OrchestratorCI
|
||||
id: provisioning
|
||||
@@ -25,4 +24,4 @@ jobs:
|
||||
echo "Running OrchestratorCI with spec: ${{ inputs.spec }}"
|
||||
# Placeholder for actual OrchestratorCI commands
|
||||
# Simulate a result output
|
||||
echo "::set-output name=runner_id::pandeganteng"
|
||||
echo "runner_id=pandeganteng" >> $GITHUB_OUTPUT
|
||||
Reference in New Issue
Block a user