Skip to content

Commit 88c00ff

Browse files
committed
Updated release workflow.
1 parent 055ab74 commit 88c00ff

File tree

4 files changed

+20
-8
lines changed

4 files changed

+20
-8
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,22 @@ on: workflow_dispatch
66
jobs:
77
release:
88
name: Release
9-
runs-on: windows-latest
9+
runs-on: macos-latest
1010
if: github.ref == 'refs/heads/main'
1111

1212
steps:
1313
- name: Checkout Repository
1414
uses: actions/checkout@v4
15+
with:
16+
ref: ${{ github.ref }}
1517

1618
- name: Setup .NET SDK
1719
uses: actions/setup-dotnet@v4
1820
with:
19-
dotnet-version: '8.0'
21+
dotnet-version: '8.0'
22+
23+
- name: Install MAUI Workloads
24+
run: dotnet workload restore
2025

2126
- name: Download PowerSync extension
2227
run: dotnet run --project Tools/Setup
@@ -37,7 +42,7 @@ jobs:
3742

3843
- name: Run Push for Common
3944
continue-on-error: true
40-
run: dotnet nuget push ${{ github.workspace }}\output\PowerSync.Common*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
45+
run: dotnet nuget push ${{ github.workspace }}/output/PowerSync.Common*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
4146

4247
- name: Extract MAUI Package Version from CHANGELOG.md
4348
id: extract_maui_version
@@ -55,4 +60,4 @@ jobs:
5560

5661
- name: Run Push For MAUI
5762
continue-on-error: true
58-
run: dotnet nuget push ${{ github.workspace }}\output\PowerSync.Maui*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
63+
run: dotnet nuget push ${{ github.workspace }}/output/PowerSync.Maui*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}

PowerSync/PowerSync.Common/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# PowerSync.Common Changelog
22

3-
## 0.0.4-dev.4
4-
- Fixing build issues related to MAUI targets not resolving on install.
3+
## 0.0.4-alpha.1
4+
- Fixed MAUI issues related to extension loading when installing package outside of the monorepo.
55

66
## 0.0.3-alpha.1
77
- Minor changes to accommodate PowerSync.MAUI package extension.

PowerSync/PowerSync.Maui/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# PowerSync.Maui Changelog
22

3-
## 0.0.3-dev.1
4-
- Further resolution of iOS builds.
3+
## 0.0.2-alpha.1
4+
- Fixed issues related to extension loading when installing package outside of the monorepo.
55

66
## 0.0.1-alpha.1
77

demos/MAUITodo/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,11 @@ dotnet build -t:Run -f:net8.0-android -p:_DeviceName=emulator-5554
5050

5151
```sh
5252
dotnet run -f net8.0-windows10.0.19041.0
53+
```
54+
55+
## Android on Windows
56+
You may need to overwrite the [backend and PowerSync URLs](./Data/NodeConnector.cs) when running an Android emulator on Windows.
57+
```
58+
BackendUrl = "http://10.0.2.2:6060";
59+
PowerSyncUrl = "http://10.0.2.2:8080";
5360
```

0 commit comments

Comments
 (0)