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 59
59
# We are using only one Swift version
60
60
swift :
61
61
- image : ${{ inputs.matrix_linux_swift_container_image }}
62
- swift_version : " 6.0.3-amazonlinux2"
63
62
container :
64
63
image : ${{ matrix.swift.image }}
65
64
steps :
93
92
- name : Run matrix job
94
93
working-directory : ${{ github.event.repository.name }} # until we can use action/checkout@v4
95
94
env :
96
- SWIFT_VERSION : ${{ matrix.swift.swift_version }}
97
95
COMMAND : ${{ inputs.matrix_linux_command }}
98
96
EXAMPLE : ${{ matrix.examples }}
99
97
run : |
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ log() { printf -- "** %s\n" "$*" >&2; }
19
19
error () { printf -- " ** ERROR: %s\n" " $* " >&2 ; }
20
20
fatal () { error " $@ " ; exit 1; }
21
21
22
+ SWIFT_VERSION=$( swift --version)
22
23
test -n " ${SWIFT_VERSION:- } " || fatal " SWIFT_VERSION unset"
23
24
test -n " ${COMMAND:- } " || fatal " COMMAND unset"
24
25
test -n " ${EXAMPLE:- } " || fatal " EXAMPLE unset"
You can’t perform that action at this time.
0 commit comments