mirror of
https://github.com/armbian/scripts.git
synced 2026-01-06 10:32:48 -08:00
test
This commit is contained in:
10
.github/workflows/build-cache-v2.yml
vendored
10
.github/workflows/build-cache-v2.yml
vendored
@@ -109,10 +109,10 @@ jobs:
|
||||
#echo ::set-output name=release::$(for x in $(eval $MATRIX); do echo $x; done|jq -cnR '[inputs | select(length>0)]' | jq)
|
||||
#echo ::set-output name=variant::$(for x in $(eval $MATRIX); do echo $x; done|jq -cnR '[inputs | select(length>0)]' | jq)
|
||||
#[[ $BOARD == cli* ]] && echo ::set-output name=variant::$(echo '["minimal","server"]' | jq) || true
|
||||
runners=("small" "ubuntu-latest" "big")
|
||||
selectedrunner=$(printf "%s\n" "${runners[@]}" | shuf -n1)
|
||||
echo ::set-output name=runner::$(for x in $(echo $selectedrunner); do echo $x; done|jq -cnR '[inputs | select(length>0)]' | jq) || true
|
||||
#echo ::set-output name=runner::$(echo '["X64","ubuntu-latest"]' | jq) || true
|
||||
#runners=("small" "ubuntu-latest" "big")
|
||||
#selectedrunner=$(printf "%s\n" "${runners[@]}" | shuf -n1)
|
||||
#echo ::set-output name=runner::$(for x in $(echo $selectedrunner); do echo $x; done|jq -cnR '[inputs | select(length>0)]' | jq) || true
|
||||
echo ::set-output name=runner::$(echo '["X64","ubuntu-latest"]' | jq) || true
|
||||
#$if [[ $ARC == arm* ]] && echo ::set-output name=runner::$(echo '["ARM64" , "X64"]' | jq) || true
|
||||
|
||||
image:
|
||||
@@ -129,7 +129,7 @@ jobs:
|
||||
appgroup: ${{fromJson(needs.Prepare.outputs.appgroup)}}
|
||||
|
||||
# runs-on: ${{fromJson(needs.Prepare.outputs.runner)}}
|
||||
runs-on: ${{ needs.Prepare.outputs.runners }}
|
||||
runs-on: ${{ needs.Prepare.outputs.runner }}
|
||||
steps:
|
||||
|
||||
- name: Runner cleanup
|
||||
|
||||
Reference in New Issue
Block a user