forked from swift-actions/setup-swift
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (33 loc) · 890 Bytes
/
stability.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
name: Stability
on:
schedule:
- cron: '0 */12 * * *'
jobs:
v1:
name: "v1: Swift ${{ matrix.swift }} on ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
swift: ["5.10"]
steps:
- uses: swift-actions/setup-swift@v2
with:
swift-version: ${{ matrix.swift }}
- name: Swift version
if: always()
run: swift --version | grep ${{ matrix.swift }} || exit 1
main:
name: "main: Swift ${{ matrix.swift }} on ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
swift: ["5.10"]
steps:
- uses: swift-actions/setup-swift@main
with:
swift-version: ${{ matrix.swift }}
- name: Swift version
if: always()
run: swift --version | grep ${{ matrix.swift }} || exit 1