File tree 1 file changed +5
-21
lines changed
1 file changed +5
-21
lines changed Original file line number Diff line number Diff line change @@ -33,30 +33,14 @@ jobs:
33
33
- name : Setup .NET Core
34
34
uses : actions/setup-dotnet@v1
35
35
with :
36
- dotnet-version : ' 6 .0.400 '
36
+ dotnet-version : ' 8 .0.201 '
37
37
38
- - name : Add .NET 6 Workloads
39
- run : dotnet workload install maui ios android maccatalyst
40
-
41
- - name : Add msbuild to PATH
42
-
38
+ - name : Add .NET Workloads
39
+ run : dotnet workload install maui
43
40
44
41
- name : Build
45
- run : msbuild Build.slnf /restore /p :Configuration=Release /p :PublicRelease=true
42
+ run : dotnet build Build.slnf /restore -m -property :Configuration=Release -property :PublicRelease=true
46
43
47
44
- name : Publish to Nuget
48
45
if : ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/v') }}
49
- run : dotnet nuget push **/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ env.NugetApiKey }}
50
-
51
- # - name: Create Release
52
- # id: create_release
53
- # if: ${{ github.ref == 'refs/heads/master' }}
54
- # uses: actions/create-release@v1
55
- # env:
56
- # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
57
- # with:
58
- # tag_name: ${{ github.ref }}
59
- # release_name: Release ${{ github.ref }}
60
- # body: Release
61
- # draft: false
62
- # prerelease: false
46
+ run : dotnet nuget push **/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ env.NugetApiKey }}
You can’t perform that action at this time.
0 commit comments