Skip to content

Commit

Permalink
Setup nuget deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
aritchie committed Aug 28, 2023
1 parent 9bad260 commit 5775a77
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Setup .NET 7.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: '7.0.200'
dotnet-version: '7.0.x'

- name: Add .NET Workloads
run: dotnet workload install maui ios android
Expand All @@ -48,4 +48,4 @@ jobs:

- name: Publish NuGets
if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/v') }}
run: dotnet nuget push **\*.nupkg --source https://sponsorconnect.dev/v3/index.json --api-key ${{ secrets.SCNUGETKEY }} --skip-duplicate
run: dotnet nuget push **\*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGETAPIKEY }} --skip-duplicate
3 changes: 1 addition & 2 deletions nuget.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ Shiny
-----

GitHub: https://github.com/shinyorg/Shiny
Samples: https://samples.shinylib.net
Docs: https://shinylib.net
Blog: https://allanritchie.com
Blog: https://shinylib.net/blog


Help Support Shiny
Expand Down
4 changes: 0 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@ public static MauiApp CreateMauiApp()
.CreateBuilder()
.UseShiny()
.UseMauiApp<App>()
.UseShinyFramework(
new DryIocContainerExtension(),
prism => prism.OnAppStart("NavigationPage/HealthTestPage")
)
.ConfigureFonts(fonts =>
{
fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
"version": "1.0.0-alpha.{height}",
"version": "1.0.0-beta.{height}",
"release": {
"branchName": "v{version}",
"versionIncrement": "build",
Expand Down

0 comments on commit 5775a77

Please sign in to comment.