Skip to content

Fix composite action directory #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 15, 2024
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
53 changes: 36 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,35 @@ jobs:
run: bash tool/build_linux.sh x64

- name: Upload binary
uses: svenstaro/upload-release-action@v2
uses: ./.github/actions/upload
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
overwrite: true
file: libpowersync_x64.so
asset_name: libpowersync_x64.so
repo-token: ${{ secrets.GITHUB_TOKEN }}
file-name: libpowersync_x64.so
tag: ${{ needs.draft_release.outputs.tag }}

publish_linux_aarch64:
name: Publish Linux aarch64
needs: [draft_release]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true

- name: Install Rust Nightly
uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly-2024-05-18
components: rust-src

- name: Build binaries
run: bash tool/build_linux.sh aarch64

- name: Upload binary
uses: ./.github/actions/upload
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
file-name: libpowersync_aarch64.so
tag: ${{ needs.draft_release.outputs.tag }}

publish_windows_x64:
Expand All @@ -150,13 +173,11 @@ jobs:
- name: Build binary
run: bash tool/build_windows.sh x64

- name: Upload binary x64
uses: svenstaro/upload-release-action@v2
- name: Upload binary
uses: ./.github/actions/upload
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
overwrite: true
file: powersync_x64.dll
asset_name: powersync_x64.dll
repo-token: ${{ secrets.GITHUB_TOKEN }}
file-name: powersync_x64.dll
tag: ${{ needs.draft_release.outputs.tag }}

publish_macOS:
Expand All @@ -171,11 +192,9 @@ jobs:
- name: Build binary
run: bash tool/build_macos.sh aarch64

- name: Upload binary aarch64
uses: svenstaro/upload-release-action@v2
- name: Upload binary
uses: ./.github/actions/upload
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
overwrite: true
file: libpowersync_aarch64.dylib
asset_name: libpowersync_aarch64.dylib
repo-token: ${{ secrets.GITHUB_TOKEN }}
file-name: libpowersync_aarch64.dylib
tag: ${{ needs.draft_release.outputs.tag }}
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ inherits = "release"
lto = false

[workspace.package]
version = "0.1.7"
version = "0.1.8"
edition = "2021"
authors = ["JourneyApps"]
keywords = ["sqlite", "powersync"]
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

group = "co.powersync"
version = "0.1.7"
version = "0.1.8"
description = "PowerSync Core SQLite Extension"

repositories {
Expand Down
4 changes: 2 additions & 2 deletions build-pod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ function createXcframework() {
<key>MinimumOSVersion</key>
<string>11.0</string>
<key>CFBundleVersion</key>
<string>0.1.7</string>
<string>0.1.8</string>
<key>CFBundleShortVersionString</key>
<string>0.1.7</string>
<string>0.1.8</string>
</dict>
</plist>
EOF
Expand Down
2 changes: 1 addition & 1 deletion powersync-sqlite-core.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'powersync-sqlite-core'
s.version = '0.1.7'
s.version = '0.1.8'
s.summary = 'PowerSync SQLite Extension'
s.description = <<-DESC
PowerSync extension for SQLite.
Expand Down
Loading