File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed
Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change 88 types :
99 - created
1010
11+ defaults :
12+ run :
13+ working-directory : ./src
14+
1115jobs :
1216 build :
1317
@@ -18,16 +22,15 @@ jobs:
1822 - name : Setup .NET
1923 uses : actions/setup-dotnet@v3
2024 with :
21- dotnet-version : ' 3.1.x '
22- - name : Setup nuget sources
23- working-directory : ./src
24- run : nuget sources add -Name Github -Source https://nuget.pkg.github.com/iteam-software/index.json -Username casjr13 -Password ${{ secrets.GPR_CASJR13_PAT }} -StorePasswordInClearText
25+ dotnet-version : ' 3.1'
26+ # - name: Setup nuget sources
27+ # working-directory: ./src
28+ # run: nuget sources add -Name Github -Source https://nuget.pkg.github.com/iteam-software/index.json -Username casjr13 -Password ${{ secrets.GPR_CASJR13_PAT }} -StorePasswordInClearText
2529 - name : Restore Packages
26- working-directory : ./src
2730 run : dotnet restore
31+ - name : Build
32+ run : dotnet build EncompassRest -c Release --no-restore
2833 - name : Pack with dotnet
29- working-directory : ./src
30- run : dotnet pack -o ./packed -c Release /p:Version=${GITHUB_REF##*/}
34+ run : dotnet pack EncompassRest -c Release -o ./packed --no-build /p:Version=${GITHUB_REF##*/}
3135 - name : Push with nuget
32- working-directory : ./src
33- run : nuget push ./packed/ -Source Github -SkipDuplicate
36+ run : dotnet nuget push ./packed/*.nupkg -k ${{ secrets.GPR_CASJR13_PAT }} -s https://nuget.pkg.github.com/iteam-software/index.json
You can’t perform that action at this time.
0 commit comments