Skip to content

Commit

Permalink
v1.0.5 - change nuget publish method
Browse files Browse the repository at this point in the history
  • Loading branch information
colhountech committed Jan 18, 2025
1 parent d135ec1 commit 270c937
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 49 deletions.
43 changes: 0 additions & 43 deletions .github/workflows/publish-release-2.yml

This file was deleted.

15 changes: 10 additions & 5 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,15 @@ jobs:
- name: Build
run: dotnet build --configuration Release --no-restore

- name: Publish to NuGet
# - name: Publish to NuGet

uses: brandedoutcast/[email protected]
with:
PROJECT_FILE_PATH: ${{env.PROJECT}}
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
# uses: brandedoutcast/[email protected]
# with:
# PROJECT_FILE_PATH: ${{env.PROJECT}}
# NUGET_KEY: ${{secrets.NUGET_API_KEY}}

- name: Pack
run: dotnet pack --configuration Release --output nupkgs

- name: Publish to NuGet
run: dotnet nuget push nupkgs/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}}
2 changes: 1 addition & 1 deletion AcrylicUI/AcrylicUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<TargetFrameworks>net7-windows;net8-windows;net9-windows</TargetFrameworks>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<UseWindowsForms>true</UseWindowsForms>
<Version>1.0.4</Version>
<Version>1.0.5</Version>
<PackageId>AcrylicUI</PackageId>
<Authors>Micheal Colhoun</Authors>
<Company>ColhounTech</Company>
Expand Down

0 comments on commit 270c937

Please sign in to comment.