Skip to content

Commit 3aaad01

Browse files
committed
Debug release CI
1 parent 210ef3c commit 3aaad01

File tree

2 files changed

+17
-15
lines changed

2 files changed

+17
-15
lines changed

.github/actions/xcframework/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ runs:
4040
with:
4141
name: xcframework
4242
retention-days: 14
43-
compression: 0 # We're uploading a zip archive, no need to compress agan
43+
compression-level: 0 # We're uploading a zip archive, no need to compress agan
4444
path: |
4545
powersync-sqlite-core.xcframework.zip

.github/workflows/release.yml

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ on:
33
push:
44
tags:
55
- v[0-9]+.[0-9]+.[0-9]+
6+
branches:
7+
- fix-release-ci
8+
69
jobs:
710
draft_release:
811
name: Create Draft GitHub Release
@@ -17,9 +20,9 @@ jobs:
1720
- name: Set tag name
1821
id: tag
1922
run: |
20-
tag=$(basename "${{ github.ref }}")
21-
echo "tag=$tag" >> $GITHUB_OUTPUT
23+
echo "tag=v0.4.5" >> $GITHUB_OUTPUT
2224
- name: Create Release
25+
if: false
2326
env:
2427
GH_TOKEN: ${{ github.token }}
2528
GH_REPO: ${{ github.repository }}
@@ -30,18 +33,16 @@ jobs:
3033
3134
libs_linux:
3235
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)
3436
runs-on: ubuntu-latest
3537
steps:
3638
- uses: actions/checkout@v4
3739
with:
3840
submodules: true
39-
- name: Build Android
41+
- name: Build Linux
4042
uses: ./.github/actions/linux
4143

4244
libs_macos:
4345
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)
4546
runs-on: macos-latest
4647
steps:
4748
- uses: actions/checkout@v4
@@ -52,7 +53,6 @@ jobs:
5253

5354
libs_windows:
5455
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)
5656
runs-on: windows-latest
5757
steps:
5858
- uses: actions/checkout@v4
@@ -63,7 +63,7 @@ jobs:
6363

6464
libs_android:
6565
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
6767
runs-on: ubuntu-latest
6868
steps:
6969
- uses: actions/checkout@v4
@@ -77,7 +77,7 @@ jobs:
7777

7878
libs_wasm:
7979
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
8181
runs-on: ubuntu-latest
8282
steps:
8383
- uses: actions/checkout@v4
@@ -89,7 +89,6 @@ jobs:
8989

9090
libs_xcframework:
9191
name: Build XCFramework
92-
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
9392
runs-on: macos-latest
9493
steps:
9594
- uses: actions/checkout@v4
@@ -103,6 +102,7 @@ jobs:
103102
contents: read
104103
packages: write
105104
name: Publish Android
105+
if: false
106106
needs: [ draft_release, libs_android ]
107107
runs-on: ubuntu-latest
108108
steps:
@@ -133,6 +133,9 @@ jobs:
133133
with:
134134
name: xcframework
135135

136+
- name: Extract xcframework
137+
run: unzip powersync-sqlite-core.xcframework.zip "powersync-sqlite-core.xcframework/*"
138+
136139
- name: Lint pod
137140
run: |
138141
pod lib lint
@@ -186,17 +189,17 @@ jobs:
186189
uses: actions/download-artifact@v5
187190
with:
188191
name: linux-library
189-
path: dart/assets
190192
- name: Download libs
191193
uses: actions/download-artifact@v5
192194
with:
193195
name: macos-library
194-
path: dart/assets
195196
- name: Download libs
196197
uses: actions/download-artifact@v5
197198
with:
198199
name: windows-library
199-
path: dart/assets
200+
201+
- name: List libraries
202+
run: ls -al
200203

201204
- name: Upload binary
202205
env:
@@ -208,6 +211,7 @@ jobs:
208211
gh release upload "${{ needs.draft_release.outputs.tag }}" *.so
209212
210213
publish_wasm:
214+
if: false
211215
name: Publish WASM builds
212216
needs: [ draft_release, libs_wasm ]
213217
runs-on: ubuntu-latest
@@ -249,10 +253,8 @@ jobs:
249253
runs-on: macos-latest
250254
needs:
251255
- draft_release
252-
- publish_android
253256
- publish_ios_pod_and_spm_package
254257
- publish_desktop
255-
- publish_wasm
256258
steps:
257259
- name: Create issue
258260
run: |

0 commit comments

Comments
 (0)