1
1
name : Publish release
2
2
on : workflow_dispatch
3
3
env :
4
- XCODE_VERSION : " ['15.3', '15.4', '16_beta_6 ', '16.1_beta ']"
5
- TEST_XCODE_VERSION : ' 15.4 '
4
+ XCODE_VERSION : " ['15.3', '15.4', '16 ', '16.1_beta_3 ']"
5
+ TEST_XCODE_VERSION : ' 16 '
6
6
jobs :
7
7
prepare :
8
8
runs-on : ubuntu-latest
33
33
tag_exists_error : false
34
34
message : " "
35
35
publish-docs :
36
- runs-on : macos-latest
36
+ runs-on : macos-15
37
37
name : Publish docs to S3 Bucket
38
38
needs : tag-release
39
39
env :
49
49
- name : Publish docs
50
50
run : bundle exec sh -x build.sh publish-docs ${{ github.sha }}
51
51
create-release :
52
- runs-on : macos-latest
52
+ runs-on : macos-15
53
53
name : Create github release
54
54
needs : [tag-release, prepare]
55
55
env :
62
62
- name : Create Github release
63
63
run : bundle exec ./build.sh publish-github ${{ github.sha }}
64
64
publish-cocoapods :
65
- runs-on : macos-latest
65
+ runs-on : macos-15
66
66
name : Publish Cocoapods specs
67
67
needs : [tag-release, prepare]
68
68
env :
75
75
- name : Publish
76
76
run : bundle exec ./build.sh publish-cocoapods v${{ needs.prepare.outputs.VERSION }}
77
77
update-checker :
78
- runs-on : macos-latest
78
+ runs-on : macos-15
79
79
name : Update to latest version update checker file
80
80
needs : tag-release
81
81
env :
89
89
- run : brew install s3cmd
90
90
- run : bundle exec ./build.sh publish-update-checker
91
91
test-installation :
92
- runs-on : macos-14
92
+ runs-on : macos-15
93
93
name : Run installation test for ${{ matrix.platform }}, ${{ matrix.installation }} and ${{ matrix.linkage }}
94
94
needs : [create-release, prepare, publish-cocoapods]
95
95
strategy :
@@ -133,10 +133,10 @@ jobs:
133
133
- uses : maxim-lobanov/setup-xcode@v1
134
134
with :
135
135
xcode-version : ${{ env.TEST_XCODE_VERSION }}
136
- - name : Set REALM_TEST_RELEASE
137
- run : echo "REALM_TEST_RELEASE=${{ needs.prepare.outputs.VERSION }}" >> $GITHUB_ENV
138
136
- name : Run installation test
139
137
uses : nick-fields/retry@v3
138
+ env :
139
+ - REALM_TEST_RELEASE : ${{ needs.prepare.outputs.VERSION }}
140
140
with :
141
141
command : |
142
142
cd examples/installation
@@ -146,7 +146,7 @@ jobs:
146
146
retry_wait_seconds : 60
147
147
retry_on : error
148
148
post-slack-release :
149
- runs-on : macos-latest
149
+ runs-on : macos-15
150
150
name : Publish to release Slack channel
151
151
needs : [create-release, prepare, publish-cocoapods, update-checker, publish-docs]
152
152
env :
@@ -166,7 +166,7 @@ jobs:
166
166
webhook-url : ${{ env.WEBHOOK_URL }}
167
167
version : ${{ needs.prepare.outputs.VERSION }}
168
168
add-empty-changelog :
169
- runs-on : macos-latest
169
+ runs-on : macos-15
170
170
permissions :
171
171
contents : write
172
172
name : Add empty changelog and commits/push it
0 commit comments