File tree Expand file tree Collapse file tree 3 files changed +13
-13
lines changed Expand file tree Collapse file tree 3 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 41
41
# Note: we don't use Amazon Linux 2 here because zip is not installed by default.
42
42
description : " Container image for the matrix test jobs. Defaults to Swift 6.2 on Amazon Linux 2."
43
43
default : " swift:6.2-amazonlinux2"
44
- archive_linux_swift_container_image :
45
- type : string
46
- # Note: we don't use Amazon Linux 2 here because zip is not installed by default.
47
- description : " Container image for the plugin test job. Defaults to Swift 6.2 on Ubuntu."
48
- default : " swift:6.2-noble"
49
44
50
45
# # We are cancelling previously triggered workflow runs
51
46
concurrency :
@@ -111,11 +106,7 @@ jobs:
111
106
fail-fast : false
112
107
matrix :
113
108
examples : ${{ fromJson(inputs.archive_plugin_examples) }}
114
- # We are using only one Swift version
115
- swift :
116
- - image : ${{ inputs.archive_linux_swift_container_image }}
117
- container :
118
- image : ${{ matrix.swift.image }}
109
+ # These must run on Ubuntu and not in a container, because the plugin uses docker
119
110
steps :
120
111
- name : Checkout repository
121
112
uses : actions/checkout@v4
Original file line number Diff line number Diff line change 1
- // swift-tools-version:6.2
1
+ // swift-tools-version:6.1
2
+ // This example has to be in Swift 6.1 because it is used in the test archive plugin CI job
3
+ // That job runs on GitHub's ubuntu-latest environment that only supports Swift 6.1
4
+ // https://github.com/actions/runner-images?tab=readme-ov-file
5
+ // https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md
6
+ // We can update to Swift 6.2 when GitHUb hosts will have Swift 6.2
2
7
3
8
import PackageDescription
4
9
Original file line number Diff line number Diff line change 1
- // swift-tools-version: 6.2
2
- // The swift-tools-version declares the minimum version of Swift required to build this package.
1
+ // swift-tools-version:6.1
2
+ // This example has to be in Swift 6.1 because it is used in the test archive plugin CI job
3
+ // That job runs on GitHub's ubuntu-latest environment that only supports Swift 6.1
4
+ // https://github.com/actions/runner-images?tab=readme-ov-file
5
+ // https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md
6
+ // We can update to Swift 6.2 when GitHUb hosts will have Swift 6.2
3
7
4
8
import PackageDescription
5
9
You can’t perform that action at this time.
0 commit comments