Skip to content

Commit

Permalink
fix: outputs in get-runner-labels
Browse files Browse the repository at this point in the history
  • Loading branch information
SyMind committed Dec 4, 2024
1 parent ae3400c commit 3059d89
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/actions/download-artifact/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Download file to local or artifact to quickly share files between j

inputs:
type:
description: "Use github or local or lynx cache"
description: "Use github, local or lynx cache"
required: true
type: string
choices:
Expand Down
22 changes: 20 additions & 2 deletions .github/workflows/get-runner-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,30 @@ on:
LINUX_RUNNER_LABELS:
description: "linux runner labels"
value: ${{ jobs.main.outputs.LINUX_RUNNER_LABELS }}
LINUX_RUNNER_TYPE:
description: "linux runner type"
value: ${{ jobs.main.outputs.LINUX_RUNNER_TYPE }}
LINUX_CACHE_TYPE:
description: "cache type used for linux runner"
value: ${{ jobs.main.outputs.LINUX_CACHE_TYPE }}
MACOS_RUNNER_LABELS:
description: "macos runner labels"
value: ${{ jobs.main.outputs.MACOS_RUNNER_LABELS }}
MACOS_RUNNER_TYPE:
description: "macos runner type"
value: ${{ jobs.main.outputs.MACOS_RUNNER_TYPE }}
MACOS_CACHE_TYPE:
description: "cache type used for macos runner"
value: ${{ jobs.main.outputs.MACOS_CACHE_TYPE }}
WINDOWS_RUNNER_LABELS:
description: "windows runner labels"
value: ${{ jobs.main.outputs.WINDOWS_RUNNER_LABELS }}
WINDOWS_RUNNER_TYPE:
description: "windows runner type"
value: ${{ jobs.main.outputs.WINDOWS_RUNNER_TYPE }}
WINDOWS_CACHE_TYPE:
description: "cache type used for windows runner"
value: ${{ jobs.main.outputs.WINDOWS_CACHE_TYPE }}

jobs:
main:
Expand Down Expand Up @@ -83,5 +101,5 @@ jobs:
# TODO: test
echo "WINDOWS_RUNNER_LABELS='"volc-windows-2022-medium"'" >> "$GITHUB_OUTPUT"
echo "WINDOWS_RUNNER_TYPE='k8s'" >> "$GITHUB_OUTPUT"
echo "WINDOWS_CACHE_TYPE='lynx'" >> "$GITHUB_OUTPUT"
echo "WINDOWS_RUNNER_TYPE=k8s" >> "$GITHUB_OUTPUT"
echo "WINDOWS_CACHE_TYPE=lynx" >> "$GITHUB_OUTPUT"

0 comments on commit 3059d89

Please sign in to comment.