Skip to content

Commit 8755ce1

Browse files
committed
Update readme for version 1
1 parent a3899f5 commit 8755ce1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,20 @@
1818
To run the action with the latest swift version available, simply add the action as a step in your workflow:
1919

2020
```yaml
21-
- uses: fwal/setup-swift@master
21+
- uses: fwal/setup-swift@v1
2222
```
2323
2424
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:
2525
```yaml
26-
- uses: fwal/setup-swift@master
26+
- uses: fwal/setup-swift@v1
2727
- name: Get swift version
28-
run: swift --version # Swift 5.1.1
28+
run: swift --version # Swift 5.2.2
2929
```
3030

3131
A specific Swift version can be set using the `swift-version` input:
3232

3333
```yaml
34-
- uses: fwal/setup-swift@master
34+
- uses: fwal/setup-swift@v1
3535
with:
3636
swift-version: "5.1.0"
3737
- name: Get swift version
@@ -48,7 +48,7 @@ strategy:
4848
os: [ubuntu-latest, macos-latest]
4949
swift: ["5.1.0", "4.2.4"]
5050
steps:
51-
- uses: fwal/setup-swift@master
51+
- uses: fwal/setup-swift@v1
5252
with:
5353
swift-version: ${{ matrix.swift }}
5454
- name: Get swift version
@@ -65,7 +65,7 @@ For example, Swift is available as version `5.1` but this will be interpreted as
6565
In other words specifying...
6666
- `"5.1.0"` will resolve to version `5.1`
6767
- `"5.1"` will resolve to latest patch version (aka `5.1.1`)
68-
- `"5"` will resolve to latest minor and patch version (aka `5.1.1`)
68+
- `"5"` will resolve to latest minor and patch version (aka `5.2.2`)
6969

7070

7171
## Legal

0 commit comments

Comments
 (0)