File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8383 id : latest-version
8484 with :
8585 compact : true
86+ raw-output : true
8687 input : config.json
8788 script : ' sort_by(.major) | reverse | group_by(.major) | map(.[0]) | sort_by(.major) | reverse | .[0].version'
8889
@@ -147,8 +148,10 @@ jobs:
147148 run : |
148149 if [ "${{ matrix.tag.version }}" = "${{ needs.prepare-matrix.outputs.latest }}" ]; then
149150 echo "IS_LATEST=true" >> $GITHUB_OUTPUT
151+ echo "This is the latest version"
150152 else
151153 echo "IS_LATEST=false" >> $GITHUB_OUTPUT
154+ echo "This is not the latest version"
152155 fi
153156
154157 - name : Build
@@ -196,8 +199,10 @@ jobs:
196199 run : |
197200 if [ "${{ matrix.tag.version }}" = "${{ needs.prepare-matrix.outputs.latest }}" ]; then
198201 echo "IS_LATEST=true" >> $GITHUB_OUTPUT
202+ echo "This is the latest version"
199203 else
200204 echo "IS_LATEST=false" >> $GITHUB_OUTPUT
205+ echo "This is not the latest version"
201206 fi
202207
203208 - name : Build and push devcontainer image
You can’t perform that action at this time.
0 commit comments