3
3
push :
4
4
tags :
5
5
- v[0-9]+.[0-9]+.[0-9]+
6
+ branches :
7
+ - fix-release-ci
8
+
6
9
jobs :
7
10
draft_release :
8
11
name : Create Draft GitHub Release
17
20
- name : Set tag name
18
21
id : tag
19
22
run : |
20
- tag=$(basename "${{ github.ref }}")
21
- echo "tag=$tag" >> $GITHUB_OUTPUT
23
+ echo "tag=v0.4.5" >> $GITHUB_OUTPUT
22
24
- name : Create Release
25
+ if : false
23
26
env :
24
27
GH_TOKEN : ${{ github.token }}
25
28
GH_REPO : ${{ github.repository }}
@@ -30,18 +33,16 @@ jobs:
30
33
31
34
libs_linux :
32
35
name : Building Linux libraries
33
- if : github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
34
36
runs-on : ubuntu-latest
35
37
steps :
36
38
- uses : actions/checkout@v4
37
39
with :
38
40
submodules : true
39
- - name : Build Android
41
+ - name : Build Linux
40
42
uses : ./.github/actions/linux
41
43
42
44
libs_macos :
43
45
name : Building macOS libraries
44
- if : github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
45
46
runs-on : macos-latest
46
47
steps :
47
48
- uses : actions/checkout@v4
52
53
53
54
libs_windows :
54
55
name : Building Windows libraries
55
- if : github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
56
56
runs-on : windows-latest
57
57
steps :
58
58
- uses : actions/checkout@v4
63
63
64
64
libs_android :
65
65
name : Building Android libraries
66
- if : github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
66
+ if : false
67
67
runs-on : ubuntu-latest
68
68
steps :
69
69
- uses : actions/checkout@v4
77
77
78
78
libs_wasm :
79
79
name : Basic WASM build
80
- if : github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
80
+ if : false
81
81
runs-on : ubuntu-latest
82
82
steps :
83
83
- uses : actions/checkout@v4
89
89
90
90
libs_xcframework :
91
91
name : Build XCFramework
92
- if : github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
93
92
runs-on : macos-latest
94
93
steps :
95
94
- uses : actions/checkout@v4
@@ -103,6 +102,7 @@ jobs:
103
102
contents : read
104
103
packages : write
105
104
name : Publish Android
105
+ if : false
106
106
needs : [ draft_release, libs_android ]
107
107
runs-on : ubuntu-latest
108
108
steps :
@@ -133,6 +133,9 @@ jobs:
133
133
with :
134
134
name : xcframework
135
135
136
+ - name : Extract xcframework
137
+ run : unzip powersync-sqlite-core.xcframework.zip "powersync-sqlite-core.xcframework/*"
138
+
136
139
- name : Lint pod
137
140
run : |
138
141
pod lib lint
@@ -186,17 +189,17 @@ jobs:
186
189
uses : actions/download-artifact@v5
187
190
with :
188
191
name : linux-library
189
- path : dart/assets
190
192
- name : Download libs
191
193
uses : actions/download-artifact@v5
192
194
with :
193
195
name : macos-library
194
- path : dart/assets
195
196
- name : Download libs
196
197
uses : actions/download-artifact@v5
197
198
with :
198
199
name : windows-library
199
- path : dart/assets
200
+
201
+ - name : List libraries
202
+ run : ls -al
200
203
201
204
- name : Upload binary
202
205
env :
@@ -208,6 +211,7 @@ jobs:
208
211
gh release upload "${{ needs.draft_release.outputs.tag }}" *.so
209
212
210
213
publish_wasm :
214
+ if : false
211
215
name : Publish WASM builds
212
216
needs : [ draft_release, libs_wasm ]
213
217
runs-on : ubuntu-latest
@@ -249,10 +253,8 @@ jobs:
249
253
runs-on : macos-latest
250
254
needs :
251
255
- draft_release
252
- - publish_android
253
256
- publish_ios_pod_and_spm_package
254
257
- publish_desktop
255
- - publish_wasm
256
258
steps :
257
259
- name : Create issue
258
260
run : |
0 commit comments