mirror of
https://github.com/armbian/scripts.git
synced 2026-01-06 10:32:48 -08:00
ds
This commit is contained in:
6
.github/workflows/build-cache-v2.yml
vendored
6
.github/workflows/build-cache-v2.yml
vendored
@@ -70,10 +70,12 @@ jobs:
|
||||
id: list_dirs
|
||||
run: |
|
||||
|
||||
echo ${{ inputs.variant }}
|
||||
CHUNK=${{ inputs.variant }}
|
||||
LINE=$(echo $CHUNK | cut -d":" -f1)
|
||||
BOARD=$(echo $LINE | cut -d"_" -f1)
|
||||
|
||||
echo ::set-output name=release::$(for x in $(grep -rw build/config/distributions/*/ -e 'supported' | cut -d"/" -f4); do echo $x; done|jq -cnR '[inputs | select(length>0)]' | jq)
|
||||
echo ::set-output name=desktop::$(for x in $(find -L build/config/desktop/*/environments/*/config* -name packages 2>/dev/null | cut -d"/" -f6 | sort | uniq); do echo $x; done|jq -cnR '[inputs | select(length>0)]' | jq)
|
||||
[[ $BOARD == desktop* ]] && echo ::set-output name=desktop::$(for x in $(find -L build/config/desktop/*/environments/*/config* -name packages 2>/dev/null | cut -d"/" -f6 | sort | uniq); do echo $x; done|jq -cnR '[inputs | select(length>0)]' | jq)
|
||||
#echo ::set-output name=variant::$(for x in $(echo "cli_1 cli_2"); do echo $x; done|jq -cnR '[inputs | select(length>0)]' | jq)
|
||||
MATRIX="seq -w 01 10"
|
||||
#echo ::set-output name=release::$(for x in $(eval $MATRIX); do echo $x; done|jq -cnR '[inputs | select(length>0)]' | jq)
|
||||
|
||||
Reference in New Issue
Block a user