File tree Expand file tree Collapse file tree 3 files changed +14
-8
lines changed
Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 4747 - name : " Build and Publish CodeQL Packs"
4848 env :
4949 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
50+ PACKS : ${{ matrix.packs }}
5051 run : |
51- PACK_PATH="${{ matrix.packs } }/qlpack.yml"
52+ PACK_PATH="${PACKS }/qlpack.yml"
5253 CURRENT_VERSION=$(grep version $PACK_PATH | awk '{print $2}')
5354 PACK_FULLNAME=$(cat $PACK_PATH | grep "name:" | awk '{print $2}')
5455 PACK_NAME=$(echo $PACK_FULLNAME | awk -F '/' '{print $2}')
Original file line number Diff line number Diff line change @@ -27,10 +27,12 @@ jobs:
2727 steps :
2828 - name : Set matrix
2929 id : set-matrix
30+ env :
31+ VERSIONS : ${{ inputs.versions }}
3032 run : |
31- versions="${{ inputs.versions }}"
32- echo "Version Input :: $versions "
33- matrix=$(echo "$versions " | tr "," "\n" | awk '{print "\""$1"\""}' | paste -sd "," -)
33+ set -e
34+ echo "Version Input :: $VERSIONS "
35+ matrix=$(echo "$VERSIONS " | tr "," "\n" | awk '{print "\""$1"\""}' | paste -sd "," -)
3436 echo "matrix :: [$matrix]"
3537 echo "matrix=[$matrix]" >> "$GITHUB_OUTPUT"
3638
7173 fi
7274
7375 - name : Run linting
76+ env :
77+ TOOL : ${{ inputs.tool }}
7478 run : |
7579 set -e
76- TOOL="${{ inputs.tool }}"
7780 if [[ "$TOOL" == "ruff" ]]; then
7881 pip install ruff
7982 ruff check
Original file line number Diff line number Diff line change @@ -20,10 +20,12 @@ jobs:
2020 steps :
2121 - name : Set matrix
2222 id : set-matrix
23+ env :
24+ VERSIONS : ${{ inputs.versions }}
2325 run : |
24- versions="${{ inputs.versions }}"
25- echo "Version Input :: $versions "
26- matrix=$(echo "$versions " | tr "," "\n" | awk '{print "\""$1"\""}' | paste -sd "," -)
26+ set -e
27+ echo "Version Input :: $VERSIONS "
28+ matrix=$(echo "$VERSIONS " | tr "," "\n" | awk '{print "\""$1"\""}' | paste -sd "," -)
2729 echo "matrix :: [$matrix]"
2830 echo "matrix=[$matrix]" >> "$GITHUB_OUTPUT"
2931
You can’t perform that action at this time.
0 commit comments