File tree Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Swift Snapshot Build
2
+
3
+ on :
4
+ schedule :
5
+ - cron : ' 0 0 * * *'
6
+ workflow_dispatch :
7
+ push :
8
+ paths :
9
+ - ' .github/workflows/swift-snapshot.yaml'
10
+
11
+ jobs :
12
+ build-snapshot :
13
+ name : Build
14
+ runs-on : macos-latest
15
+ steps :
16
+ - uses : actions/checkout@v4
17
+
18
+ - name : Install swiftly
19
+ run : |
20
+ curl -O https://download.swift.org/swiftly/darwin/swiftly.pkg && \
21
+ installer -pkg swiftly.pkg -target CurrentUserHomeDirectory && \
22
+ ~/.swiftly/bin/swiftly init --quiet-shell-followup && \
23
+ . "${SWIFTLY_HOME_DIR:-~/.swiftly}/env.sh" && \
24
+ hash -r
25
+ shell : bash
26
+
27
+ - name : Use Swift Snapshot
28
+ run : swiftly install main-snapshot && swiftly use main-snapshot
29
+ shell : bash
30
+
31
+ - name : Build
32
+ run : swift build
Original file line number Diff line number Diff line change 1
- 5.7
1
+ 6.1
You can’t perform that action at this time.
0 commit comments