Update build-with-docker.yml

This commit is contained in:
Igor Pečovnik
2022-11-15 22:09:38 +01:00
committed by GitHub
parent 20173a316a
commit 864bf9ee2f

View File

@@ -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: