-
Notifications
You must be signed in to change notification settings - Fork 1
55 lines (46 loc) · 1.19 KB
/
setup-swift-beta.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
- name: Setup Swift(beta)
uses: SavchenkoValeriy/[email protected]
- uses: swift-actions/setup-swift@v1
- uses: swift-actions/setup-swift@v1
- name: Get swift version
run: swift --version # Swift 5.6.1
- uses: swift-actions/setup-swift@v1
with:
swift-version: "5.1.0"
- name: Get swift version
run: swift --version # Swift 5.1.0
name: Swift ${{ matrix.swift }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
swift: ["5.4.3", "5.2.4"]
steps:
- uses: swift-actions/setup-swift@v1
with:
swift-version: ${{ matrix.swift }}
- name: Get swift version
run: swift --version
- uses: swift-actions/setup-swift@v1
with:
swift-version: '5.0'
- uses: swift-actions/setup-swift@v1
with:
swift-version: 5.0
name: Setup Swift(beta)
description: Setup a Swift environment on Ubuntu or macOS
author: Frederik Wallner
inputs:
swift-version:
description: Swift version to configure
required: true
default: '5.6.1'
outputs:
version:
description: The full Swift version that was configured
runs:
using: node12
main: dist/index.js
branding:
icon: 'command'
color: 'orange'