Skip to content
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #19 from ntohq/dev
Browse files Browse the repository at this point in the history
Update Workflow to Fix Publish Bugs
  • Loading branch information
Wesley Ford authored Sep 27, 2023
2 parents b08ab25 + 6dcb51f commit c30bf3d
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 22 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ jobs:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build and Pack NueGet Package
run: dotnet pack --configuration Release --output ./output
- name: Build and Pack NuGet Package
run: dotnet pack --configuration Release --output ./dist
- name: Move to Dist Directory
run: cd dist
- name: Publish Package to GitHub Packages
run: dotnet nuget push ./output.*.nupkg --source "github" --api-key ${{ secrets.GITHUB_TOKEN }}
run: dotnet nuget push *.nupkg --source "github" --api-key ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"E:\\GitHub\\EducationTrail_CORE\\src\\EducationTrail_CORE\\NuGet.Config",
"C:\\Users\\wesdevpro\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
Expand All @@ -26,6 +25,8 @@
"net6.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {},
"https://nuget.pkg.github.com/ntohq/index.json": {}
},
"frameworks": {
Expand Down
3 changes: 2 additions & 1 deletion src/EducationTrail_CORE.Tests/obj/project.assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -6130,7 +6130,6 @@
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"E:\\GitHub\\EducationTrail_CORE\\src\\EducationTrail_CORE\\NuGet.Config",
"C:\\Users\\wesdevpro\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
Expand All @@ -6139,6 +6138,8 @@
"net6.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {},
"https://nuget.pkg.github.com/ntohq/index.json": {}
},
"frameworks": {
Expand Down
2 changes: 1 addition & 1 deletion src/EducationTrail_CORE.Tests/obj/project.nuget.cache
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": 2,
"dgSpecHash": "qvYpHm4FkysU2U/3ujp+sffPMv5lCjcWkkO3NwfpMI2Sex00laeaIt4N2bPkNLbLev/ZnmojhhJ+d3osakYqqg==",
"dgSpecHash": "TLEptiV5SN5XMFCaJFJDw55JabOGOS1CKG7aIUWhY0UUHHOEypa7R7xX+LAzbqCAuTJDFEVjIn6ocEka8pnJVA==",
"success": true,
"projectFilePath": "E:\\GitHub\\EducationTrail_CORE\\src\\EducationTrail_CORE.Tests\\EducationTrail_CORE.Tests.csproj",
"expectedPackageFiles": [
Expand Down
13 changes: 0 additions & 13 deletions src/EducationTrail_CORE/nuget.config

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"E:\\GitHub\\EducationTrail_CORE\\src\\EducationTrail_CORE\\NuGet.Config",
"C:\\Users\\wesdevpro\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
Expand All @@ -26,6 +25,8 @@
"net6.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {},
"https://nuget.pkg.github.com/ntohq/index.json": {}
},
"frameworks": {
Expand Down
3 changes: 2 additions & 1 deletion src/EducationTrail_CORE/obj/project.assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"E:\\GitHub\\EducationTrail_CORE\\src\\EducationTrail_CORE\\NuGet.Config",
"C:\\Users\\wesdevpro\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
Expand All @@ -33,6 +32,8 @@
"net6.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {},
"https://nuget.pkg.github.com/ntohq/index.json": {}
},
"frameworks": {
Expand Down
2 changes: 1 addition & 1 deletion src/EducationTrail_CORE/obj/project.nuget.cache
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": 2,
"dgSpecHash": "pRFvdBsYYeKl2kpXHyTk3aEj/d9UT8lB9ltHPSqQW4e2CmQx82j/g1lp+htFn1JHW5+8jH93WUVKS+DP65ZDvQ==",
"dgSpecHash": "k7JfcjYLNQPr4j18HYSpFFGY9I7DyFPuAD6OZPMVXdvZPNTf+STWQ0oLsFHUoQPEulZFo0GTnkoeaTsKW1s3gA==",
"success": true,
"projectFilePath": "E:\\GitHub\\EducationTrail_CORE\\src\\EducationTrail_CORE\\EducationTrail_CORE.csproj",
"expectedPackageFiles": [],
Expand Down

0 comments on commit c30bf3d

Please sign in to comment.