You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To run the action with the latest swift version available, simply add the action as a step in your workflow:
22
22
23
23
```yaml
24
-
- uses: fwal/setup-swift@v1
24
+
- uses: swift-actions/setup-swift@v1
25
25
```
26
26
27
27
After the environment is configured you can run swift commands using the standard [`run`](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idstepsrun) step:
28
28
```yaml
29
-
- uses: fwal/setup-swift@v1
29
+
- uses: swift-actions/setup-swift@v1
30
30
- name: Get swift version
31
31
run: swift --version # Swift 5.6.1
32
32
```
33
33
34
34
A specific Swift version can be set using the `swift-version` input:
35
35
36
36
```yaml
37
-
- uses: fwal/setup-swift@v1
37
+
- uses: swift-actions/setup-swift@v1
38
38
with:
39
39
swift-version: "5.1.0"
40
40
- name: Get swift version
@@ -51,7 +51,7 @@ strategy:
51
51
os: [ubuntu-latest, macos-latest]
52
52
swift: ["5.4.3", "5.2.4"]
53
53
steps:
54
-
- uses: fwal/setup-swift@v1
54
+
- uses: swift-actions/setup-swift@v1
55
55
with:
56
56
swift-version: ${{ matrix.swift }}
57
57
- name: Get swift version
@@ -75,15 +75,15 @@ In other words specifying...
75
75
YAML interprets eg. `5.0` as a float, this action will then interpret that as `5` which will result in eg. Swift 5.5 being resolved. Quote your inputs! Thus:
0 commit comments