File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change 5959 # We are using only one Swift version
6060 swift :
6161 - image : ${{ inputs.matrix_linux_swift_container_image }}
62- swift_version : " 6.0.3-amazonlinux2"
6362 container :
6463 image : ${{ matrix.swift.image }}
6564 steps :
9392 - name : Run matrix job
9493 working-directory : ${{ github.event.repository.name }} # until we can use action/checkout@v4
9594 env :
96- SWIFT_VERSION : ${{ matrix.swift.swift_version }}
9795 COMMAND : ${{ inputs.matrix_linux_command }}
9896 EXAMPLE : ${{ matrix.examples }}
9997 run : |
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ log() { printf -- "** %s\n" "$*" >&2; }
1919error () { printf -- " ** ERROR: %s\n" " $* " >&2 ; }
2020fatal () { error " $@ " ; exit 1; }
2121
22+ SWIFT_VERSION=$( swift --version)
2223test -n " ${SWIFT_VERSION:- } " || fatal " SWIFT_VERSION unset"
2324test -n " ${COMMAND:- } " || fatal " COMMAND unset"
2425test -n " ${EXAMPLE:- } " || fatal " EXAMPLE unset"
You can’t perform that action at this time.
0 commit comments