File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 6262 strategy :
6363 matrix :
6464 example :
65- - HelloWorldVapor
66- - HelloWorldHummingbird
65+ - Examples/ HelloWorldVapor
66+ - Examples/ HelloWorldHummingbird
6767 steps :
6868 - name : Checkout repository
6969 uses : actions/checkout@v4
8282
8383 - name : Build the example
8484 run : |
85- cd Examples/$ {{ matrix.example }}
86- sed -i'.bak' -e '/swift-container-plugin/ s/(url:.*),/(path: "..\/.."),/' Package.swift
85+ sed -i'.bak' -e "/swift-container-plugin/ s@(url:.*),@(path: \"$PWD\"),@" $ {{ matrix.example }}/Package.swift # Use plugin from this checkout
86+ cat ${{ matrix.example }}/ Package.swift
8787 swift package \
88+ --package-path ${{ matrix.example }} \
8889 --swift-sdk x86_64-swift-linux-musl \
8990 --allow-network-connections all \
9091 build-container-image \
You can’t perform that action at this time.
0 commit comments