diff --git a/.github/actions/xcframework/action.yml b/.github/actions/xcframework/action.yml index 5e4c498..3f38232 100644 --- a/.github/actions/xcframework/action.yml +++ b/.github/actions/xcframework/action.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d14ea5e..1cfc5cf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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: