99jobs :
1010
1111 build :
12- runs-on : windows -latest
12+ runs-on : ubuntu -latest
1313 # runs-on: self-hosted
1414
1515 env :
1616 CONFIG : ' Release'
1717 SOLUTION_FILE : ' ./UmbNav.slnx'
1818 OUT_FOLDER : ' ./build.out/'
19+ NUGET_KEY : ${{ secrets.NUGET_API_KEY }}
20+ GITHUB_TOKEN : ${{ secrets.GH_PAT }}
1921
2022 steps :
2123
@@ -122,21 +124,21 @@ jobs:
122124 - name : Push to GitHub Nuget Repo
123125 if : ${{ github.event_name != 'pull_request' }}
124126 run : |
125- dotnet nuget push ./build.out/Umbraco.Community.UmbNav.${{steps.gitversion.outputs.majorMinorPatch}}.nupkg --skip-duplicate --source https://nuget.pkg.github.com/AaronSadlerUK/index.json --api-key ${{ secrets.GH_PAT }}
126- dotnet nuget push ./build.out/Umbraco.Community.UmbNav.Core.${{steps.gitversion.outputs.majorMinorPatch}}.nupkg --skip-duplicate --source https://nuget.pkg.github.com/AaronSadlerUK/index.json --api-key ${{ secrets.GH_PAT }}
127+ dotnet nuget push ./build.out/Umbraco.Community.UmbNav.${{steps.gitversion.outputs.majorMinorPatch}}.nupkg --skip-duplicate --source https://nuget.pkg.github.com/AaronSadlerUK/index.json --api-key ${{ env.GITHUB_TOKEN }}
128+ dotnet nuget push ./build.out/Umbraco.Community.UmbNav.Core.${{steps.gitversion.outputs.majorMinorPatch}}.nupkg --skip-duplicate --source https://nuget.pkg.github.com/AaronSadlerUK/index.json --api-key ${{ env.GITHUB_TOKEN }}
127129
128130 - name : Push to Nuget Repo
129131 if : ${{ github.event_name != 'pull_request' }}
130132 run : |
131- dotnet nuget push ./build.out/Umbraco.Community.UmbNav.${{steps.gitversion.outputs.majorMinorPatch}}.nupkg --skip-duplicate --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
132- dotnet nuget push ./build.out/Umbraco.Community.UmbNav.Core.${{steps.gitversion.outputs.majorMinorPatch}}.nupkg --skip-duplicate --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
133+ dotnet nuget push ./build.out/Umbraco.Community.UmbNav.${{steps.gitversion.outputs.majorMinorPatch}}.nupkg --skip-duplicate --source https://api.nuget.org/v3/index.json --api-key ${{ env.NUGET_KEY }}
134+ dotnet nuget push ./build.out/Umbraco.Community.UmbNav.Core.${{steps.gitversion.outputs.majorMinorPatch}}.nupkg --skip-duplicate --source https://api.nuget.org/v3/index.json --api-key ${{ env.NUGET_KEY }}
133135
134136 - name : Create Release
135137 run : |
136- gh release create ${{steps.gitversion.outputs.majorMinorPatch}} `
137- ./build.out/Umbraco.Community.UmbNav.${{steps.gitversion.outputs.majorMinorPatch}}.nupkg `
138- ./build.out/Umbraco.Community.UmbNav.Core.${{steps.gitversion.outputs.majorMinorPatch}}.nupkg `
139- --title "${{steps.gitversion.outputs.majorMinorPatch}}" `
138+ gh release create ${{steps.gitversion.outputs.majorMinorPatch}} \
139+ ./build.out/Umbraco.Community.UmbNav.${{steps.gitversion.outputs.majorMinorPatch}}.nupkg \
140+ ./build.out/Umbraco.Community.UmbNav.Core.${{steps.gitversion.outputs.majorMinorPatch}}.nupkg \
141+ --title "${{steps.gitversion.outputs.majorMinorPatch}}" \
140142 --generate-notes
141143 env :
142- GH_TOKEN : ${{ github.token }}
144+ GH_TOKEN : ${{ github.token }}
0 commit comments