Skip to content

Commit fe9fe3a

Browse files
authored
Fix composite action directory (#14)
* Fix composite action * Bump version
1 parent 567a1a7 commit fe9fe3a

File tree

7 files changed

+45
-26
lines changed

7 files changed

+45
-26
lines changed

.github/workflows/release.yml

Lines changed: 36 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -130,12 +130,35 @@ jobs:
130130
run: bash tool/build_linux.sh x64
131131

132132
- name: Upload binary
133-
uses: svenstaro/upload-release-action@v2
133+
uses: ./.github/actions/upload
134134
with:
135-
repo_token: ${{ secrets.GITHUB_TOKEN }}
136-
overwrite: true
137-
file: libpowersync_x64.so
138-
asset_name: libpowersync_x64.so
135+
repo-token: ${{ secrets.GITHUB_TOKEN }}
136+
file-name: libpowersync_x64.so
137+
tag: ${{ needs.draft_release.outputs.tag }}
138+
139+
publish_linux_aarch64:
140+
name: Publish Linux aarch64
141+
needs: [draft_release]
142+
runs-on: ubuntu-latest
143+
steps:
144+
- uses: actions/checkout@v3
145+
with:
146+
submodules: true
147+
148+
- name: Install Rust Nightly
149+
uses: dtolnay/rust-toolchain@stable
150+
with:
151+
toolchain: nightly-2024-05-18
152+
components: rust-src
153+
154+
- name: Build binaries
155+
run: bash tool/build_linux.sh aarch64
156+
157+
- name: Upload binary
158+
uses: ./.github/actions/upload
159+
with:
160+
repo-token: ${{ secrets.GITHUB_TOKEN }}
161+
file-name: libpowersync_aarch64.so
139162
tag: ${{ needs.draft_release.outputs.tag }}
140163

141164
publish_windows_x64:
@@ -150,13 +173,11 @@ jobs:
150173
- name: Build binary
151174
run: bash tool/build_windows.sh x64
152175

153-
- name: Upload binary x64
154-
uses: svenstaro/upload-release-action@v2
176+
- name: Upload binary
177+
uses: ./.github/actions/upload
155178
with:
156-
repo_token: ${{ secrets.GITHUB_TOKEN }}
157-
overwrite: true
158-
file: powersync_x64.dll
159-
asset_name: powersync_x64.dll
179+
repo-token: ${{ secrets.GITHUB_TOKEN }}
180+
file-name: powersync_x64.dll
160181
tag: ${{ needs.draft_release.outputs.tag }}
161182

162183
publish_macOS:
@@ -171,11 +192,9 @@ jobs:
171192
- name: Build binary
172193
run: bash tool/build_macos.sh aarch64
173194

174-
- name: Upload binary aarch64
175-
uses: svenstaro/upload-release-action@v2
195+
- name: Upload binary
196+
uses: ./.github/actions/upload
176197
with:
177-
repo_token: ${{ secrets.GITHUB_TOKEN }}
178-
overwrite: true
179-
file: libpowersync_aarch64.dylib
180-
asset_name: libpowersync_aarch64.dylib
198+
repo-token: ${{ secrets.GITHUB_TOKEN }}
199+
file-name: libpowersync_aarch64.dylib
181200
tag: ${{ needs.draft_release.outputs.tag }}

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ inherits = "release"
2525
lto = false
2626

2727
[workspace.package]
28-
version = "0.1.7"
28+
version = "0.1.8"
2929
edition = "2021"
3030
authors = ["JourneyApps"]
3131
keywords = ["sqlite", "powersync"]

android/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77
}
88

99
group = "co.powersync"
10-
version = "0.1.7"
10+
version = "0.1.8"
1111
description = "PowerSync Core SQLite Extension"
1212

1313
repositories {

build-pod.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ function createXcframework() {
2828
<key>MinimumOSVersion</key>
2929
<string>11.0</string>
3030
<key>CFBundleVersion</key>
31-
<string>0.1.7</string>
31+
<string>0.1.8</string>
3232
<key>CFBundleShortVersionString</key>
33-
<string>0.1.7</string>
33+
<string>0.1.8</string>
3434
</dict>
3535
</plist>
3636
EOF

powersync-sqlite-core.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'powersync-sqlite-core'
3-
s.version = '0.1.7'
3+
s.version = '0.1.8'
44
s.summary = 'PowerSync SQLite Extension'
55
s.description = <<-DESC
66
PowerSync extension for SQLite.

0 commit comments

Comments
 (0)