Skip to content

Commit 6ed40f0

Browse files
authored
Remove cake
1 parent bdc9f58 commit 6ed40f0

6 files changed

Lines changed: 9 additions & 409 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,14 @@ jobs:
2323
run: dotnet workload restore
2424
- name: Restore dependencies
2525
run: dotnet restore
26-
- name: Set Assembly Version
27-
run: ./build.sh --task=GitVersion --configuration=Release
26+
- name: .NET project version updater
27+
uses: vers-one/dotnet-project-version-updater@v1.7
28+
with:
29+
files: |
30+
"Float.Core/Float.Core.csproj", "**/*.nuspec", "**/AssemblyInfo.cs"
31+
version: ${{ github.event.release.name }}
2832
- name: Build Library
2933
run: dotnet build ./Float.Core/Float.Core.csproj --configuration Release --no-restore
30-
- name: Update Version
31-
run: sed -i "s/<Version><\/Version>/<Version>${{ github.event.release.name }}<\/Version>/" ./Float.Core/Float.Core.csproj
3234
- name: Pack and Upload
3335
run: dotnet pack --configuration Release --no-restore
3436
- name: Deploy to NuGet

Float.Core/Float.Core.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@
4343
<ItemGroup Condition="$(TargetFramework.StartsWith('netstandard'))">
4444
<PackageReference Include="Xamarin.Forms" Version="[5.0.0.1874,6)" />
4545
</ItemGroup>
46+
<ItemGroup Condition="$(!TargetFramework.StartsWith('netstandard'))">
47+
<PackageReference Include="Microsoft.Maui.Controls" Version="[8.0.100,9)" />
48+
</ItemGroup>
4649
<ItemGroup>
4750
<Folder Include="Properties\" />
4851
<Folder Include="Resources\" />

build.cake

Lines changed: 0 additions & 190 deletions
This file was deleted.

0 commit comments

Comments
 (0)