mirror of
https://github.com/armbian/scripts.git
synced 2026-01-06 10:32:48 -08:00
Update build-with-docker.yml
This commit is contained in:
16
.github/workflows/build-with-docker.yml
vendored
16
.github/workflows/build-with-docker.yml
vendored
@@ -141,19 +141,19 @@ jobs:
|
||||
echo "matrix=$(for x in $(eval $MATRIX); do echo $x; done|jq -cnR '[inputs | select(length>0)]' | jq -c)" >> $GITHUB_OUTPUT
|
||||
|
||||
if [[ -z "${{ inputs.runner }}" ]]; then
|
||||
echo ::set-output name=runner::$(echo '["ubuntu-latest"]' | jq) || true
|
||||
#echo "runner=ubuntu-latest" >> $GITHUB_OUTPUT
|
||||
#echo ::set-output name=runner::$(echo '["ubuntu-latest"]' | jq) || true
|
||||
echo "runner=ubuntu-latest" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo ::set-output name=runner::$(echo '["${{ inputs.runner }}"]' | jq) || true
|
||||
#echo "runner=${{ inputs.runner }}" >> $GITHUB_OUTPUT
|
||||
#echo ::set-output name=runner::$(echo '["${{ inputs.runner }}"]' | jq) || true
|
||||
echo "runner=${{ inputs.runner }}" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
if [[ -z "${{ inputs.parallel }}" ]]; then
|
||||
echo ::set-output name=parallel::128 || true
|
||||
#echo "parallel=128" >> $GITHUB_OUTPUT
|
||||
#echo ::set-output name=parallel::128 || true
|
||||
echo "parallel=128" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo ::set-output name=parallel::${{ inputs.parallel }} || true
|
||||
#echo "parallel=${{ inputs.parallel }}" >> $GITHUB_OUTPUT
|
||||
#echo ::set-output name=parallel::${{ inputs.parallel }} || true
|
||||
echo "parallel=${{ inputs.parallel }}" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
image:
|
||||
|
||||
Reference in New Issue
Block a user