File tree Expand file tree Collapse file tree 5 files changed +21
-10
lines changed
Expand file tree Collapse file tree 5 files changed +21
-10
lines changed Original file line number Diff line number Diff line change @@ -31,18 +31,23 @@ jobs:
3131 COMMON_VERSION=$(awk '/^## [0-9]+\.[0-9]+\.[0-9]+-dev(\.[0-9]+)?$/ {print $2; exit}' PowerSync/PowerSync.Common/CHANGELOG.md)
3232 echo "Detected Version: $COMMON_VERSION"
3333 echo "VERSION=$COMMON_VERSION" >> $GITHUB_ENV
34-
34+
35+ - name : Run Pack For Common
36+ run : dotnet pack PowerSync/PowerSync.Common -c Release -o ${{ github.workspace }}/output
37+
38+ - name : Run Push For Common
39+ run : dotnet nuget push ${{ github.workspace }}\output\PowerSync.Common*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
40+
3541 - name : Extract MAUI Package Version from CHANGELOG.md
3642 id : extract_maui_version
3743 shell : bash
3844 run : |
39- COMMON_VERSION=$(awk '/^## [0-9]+\.[0-9]+\.[0-9]+-dev(\.[0-9]+)?$/ {print $2; exit}' PowerSync/PowerSync.MAUI/CHANGELOG.md)
40- echo "Detected Version: $COMMON_VERSION"
41- echo "VERSION=$COMMON_VERSION" >> $GITHUB_ENV
45+ MAUI_VERSION=$(awk '/^## [0-9]+\.[0-9]+\.[0-9]+-dev(\.[0-9]+)?$/ {print $2; exit}' PowerSync/PowerSync.Maui/CHANGELOG.md)
46+ echo "Detected Version: $MAUI_VERSION"
47+ echo "VERSION=$MAUI_VERSION" >> $GITHUB_ENV
48+
49+ - name : Run Pack For MAUI
50+ run : dotnet pack PowerSync/PowerSync.Maui -c Release -o ${{ github.workspace }}/output
4251
43- # - name: Run Pack
44- # run: dotnet pack -c Release -o ${{ github.workspace }}/output
45- #
46- # - name: Run Push
47- # run: dotnet nuget push ${{ github.workspace }}\output\*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
48- #
52+ - name : Run Push For MAUI
53+ run : dotnet nuget push ${{ github.workspace }}\output\PowerSync.Maui*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
Original file line number Diff line number Diff line change 11# PowerSync.Common Changelog
22
3+ ## 0.0.2-dev.1
4+
5+
36## 0.0.2-alpha.3
47- Minor changes to accommodate PowerSync.MAUI package extension.
58
Original file line number Diff line number Diff line change 1+ # PowerSync SDK .NET MAUI
Original file line number Diff line number Diff line change 1111 <SingleProject >true</SingleProject >
1212 <ImplicitUsings >enable</ImplicitUsings >
1313 <Nullable >enable</Nullable >
14+ <IsPackable >false</IsPackable >
1415
1516 <!-- Display name -->
1617 <ApplicationTitle >TodoSQLite</ApplicationTitle >
Original file line number Diff line number Diff line change 66 <RootNamespace >PowersyncDotnetTodoList</RootNamespace >
77 <Nullable >enable</Nullable >
88 <ImplicitUsings >enable</ImplicitUsings >
9+ <IsPackable >false</IsPackable >
910 <UseWPF >true</UseWPF >
1011 <EnableWindowsTargeting >true</EnableWindowsTargeting >
1112 </PropertyGroup >
You can’t perform that action at this time.
0 commit comments