File tree Expand file tree Collapse file tree 2 files changed +37
-1
lines changed Expand file tree Collapse file tree 2 files changed +37
-1
lines changed Original file line number Diff line number Diff line change 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 }}
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