We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00a164e commit 0d4806aCopy full SHA for 0d4806a
2 files changed
.github/workflows/swift-snapshot.yaml
@@ -0,0 +1,36 @@
1
+name: Swift Snapshot Build
2
+
3
+permissions:
4
+ contents: read
5
6
+env:
7
+ SWIFT_SNAPSHOT: main-snapshot
8
9
+on:
10
+ workflow_dispatch:
11
+ schedule:
12
+ - cron: '0 0 * * *'
13
14
+jobs:
15
+ build-snapshot:
16
+ name: Build
17
+ runs-on: macos-latest
18
+ timeout-minutes: 30
19
+ defaults:
20
+ run:
21
+ shell: bash
22
+ steps:
23
+ - uses: actions/checkout@v4
24
25
+ - uses: maxim-lobanov/setup-xcode@v1
26
+ with:
27
+ xcode-version: latest
28
29
+ - name: Install swiftly
30
+ run: brew install swiftly && swiftly init --quiet-shell-followup --skip-install -y
31
32
+ - name: Get Swift snapshot
33
+ run: swiftly install -y ${{ env.SWIFT_SNAPSHOT }}
34
35
+ - name: Build
36
+ run: swiftly run swift build +${{ env.SWIFT_SNAPSHOT }}
.swift-version
@@ -1 +1 @@
-5.7
+6.1
0 commit comments