Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/xcframework/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ runs:
with:
name: xcframework
retention-days: 14
compression: 0 # We're uploading a zip archive, no need to compress agan
compression-level: 0 # We're uploading a zip archive, no need to compress agan
path: |
powersync-sqlite-core.xcframework.zip
17 changes: 7 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,16 @@ jobs:

libs_linux:
name: Building Linux libraries
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Build Android
- name: Build Linux
uses: ./.github/actions/linux

libs_macos:
name: Building macOS libraries
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -52,7 +50,6 @@ jobs:

libs_windows:
name: Building Windows libraries
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -63,7 +60,6 @@ jobs:

libs_android:
name: Building Android libraries
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -77,7 +73,6 @@ jobs:

libs_wasm:
name: Basic WASM build
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -89,7 +84,6 @@ jobs:

libs_xcframework:
name: Build XCFramework
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -133,6 +127,9 @@ jobs:
with:
name: xcframework

- name: Extract xcframework
run: unzip powersync-sqlite-core.xcframework.zip "powersync-sqlite-core.xcframework/*"

- name: Lint pod
run: |
pod lib lint
Expand Down Expand Up @@ -186,17 +183,17 @@ jobs:
uses: actions/download-artifact@v5
with:
name: linux-library
path: dart/assets
- name: Download libs
uses: actions/download-artifact@v5
with:
name: macos-library
path: dart/assets
- name: Download libs
uses: actions/download-artifact@v5
with:
name: windows-library
path: dart/assets

- name: List libraries
run: ls -al

- name: Upload binary
env:
Expand Down
Loading