File tree 2 files changed +8
-4
lines changed
2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 15
15
Net_Project_Directory : Xcaciv.Command
16
16
Net_Project_Path : src\Xcaciv.Command\Xcaciv.Command\Xcaciv.Command.csproj
17
17
Nuget_Project_Path : src\Xcaciv.Command\Xcaciv.Command\Xcaciv.Command.csproj
18
-
18
+
19
19
steps :
20
20
- name : Checkout
21
21
uses : actions/checkout@v4
26
26
with :
27
27
dotnet-version : 8.0.x
28
28
29
+ - name : Configure Nuget Source
30
+ run : |
31
+ dotnet nuget add source "https://nuget.pkg.github.com/xcaciv/index.json" -n "github" -u xcaciv -p ${{ secrets.NUGET_PAT }} --store-password-in-clear-text
29
32
- name : Restore dependencies
30
33
run : dotnet restore $env:Solution_Name
31
34
- name : Debug Build
Original file line number Diff line number Diff line change 26
26
with :
27
27
dotnet-version : 8.0.x
28
28
29
+ - name : Configure Nuget Source
30
+ run : |
31
+ dotnet nuget add source "https://nuget.pkg.github.com/xcaciv/index.json" -n "github" -u xcaciv -p ${{ secrets.NUGET_PAT }} --store-password-in-clear-text
29
32
- name : Restore dependencies
30
33
run : dotnet restore $env:Solution_Name
34
+
31
35
- name : Debug Build
32
36
run : dotnet build $env:Solution_Name --no-restore --configuration Debug
33
37
- name : Test with dotnet
45
49
- name : Nuget Package
46
50
run : |
47
51
dotnet pack $env:Nuget_Project_Path --no-build --configuration Release
48
- - name : Configure Nuget Source
49
- run : |
50
- dotnet nuget add source "https://nuget.pkg.github.com/xcaciv/index.json" -n "github" -u xcaciv -p ${{ secrets.NUGET_PAT }} --store-password-in-clear-text
51
52
- name : Nuget Push
52
53
run : |
53
54
dotnet nuget push **\*.nupkg -k ${{ secrets.NUGET_PAT }} -s "github" --skip-duplicate
You can’t perform that action at this time.
0 commit comments