File tree Expand file tree Collapse file tree 3 files changed +12
-14
lines changed Expand file tree Collapse file tree 3 files changed +12
-14
lines changed Original file line number Diff line number Diff line change @@ -51,10 +51,10 @@ jobs:
51
51
steps :
52
52
- name : Checkout repository
53
53
uses : actions/checkout@v4
54
- - name : Activate Swiftly
55
- run : source /opt/swiftly/env .sh
54
+ - name : Prepare the action
55
+ run : ./scripts/prep-gh-action .sh --install-swiftly
56
56
- name : Build Release Artifact
57
- run : swiftly run swift run build-swiftly-release ${{ inputs.skip }} ${{ inputs.version }}
57
+ run : swift run build-swiftly-release ${{ inputs.skip }} ${{ inputs.version }}
58
58
- name : Upload Release Artifact
59
59
uses : actions/upload-artifact@v4
60
60
with :
Original file line number Diff line number Diff line change 33
33
steps :
34
34
- name : Checkout repository
35
35
uses : actions/checkout@v4
36
- - name : Activate Swiftly
37
- run : source /opt/swiftly/env.sh
38
- - name : Install Main Snapshot
39
- run : swiftly install main-snapshot
36
+ - name : Prepare the action
37
+ run : ./scripts/prep-gh-action.sh --install-swiftly --swift-main-snapshot
40
38
- name : Build and Test
41
- run : swiftly run +main-snapshot swift test
39
+ run : swift test
Original file line number Diff line number Diff line change @@ -30,10 +30,10 @@ jobs:
30
30
steps :
31
31
- name : Checkout repository
32
32
uses : actions/checkout@v4
33
- - name : Activate Swiftly
34
- run : source /opt/swiftly/env .sh
33
+ - name : Prepare the action
34
+ run : ./scripts/prep-gh-action .sh --install-swiftly
35
35
- name : Build and Test
36
- run : swiftly run swift test
36
+ run : swift test
37
37
timeout-minutes : 60
38
38
39
39
tests-selfhosted :
@@ -88,10 +88,10 @@ jobs:
88
88
steps :
89
89
- name : Checkout repository
90
90
uses : actions/checkout@v4
91
- - name : Activate Swiftly
92
- run : source /opt/swiftly/env .sh
91
+ - name : Prepare the action
92
+ run : ./scripts/prep-gh-action .sh --install-swiftly
93
93
- name : Build Artifact
94
- run : swiftly run swift run build-swiftly-release --test --skip "999.0.0"
94
+ run : swift run build-swiftly-release --test --skip "999.0.0"
95
95
- name : Upload Artifact
96
96
uses : actions/upload-artifact@v4
97
97
with :
You can’t perform that action at this time.
0 commit comments