File tree Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Original file line number Diff line number Diff line change 23
23
global-json-file : global.json
24
24
dotnet-version : |
25
25
8.x
26
-
27
- - name : Add the GitHub source
28
- run : dotnet nuget add source --name "github.com" "https://nuget.pkg.github.com/fsprojects/index.json"
29
-
30
26
- name : Publish to GitHub
31
27
env :
32
28
NUGET_TOKEN : ${{ secrets.NUGET_TOKEN }}
Original file line number Diff line number Diff line change
1
+ <configuration >
2
+ <packageSources >
3
+ <clear />
4
+ <add key =" nuget.org" value =" https://api.nuget.org/v3/index.json" />
5
+ <add key =" github.com" value =" https://nuget.pkg.github.com/fsprojects/index.json" />
6
+ </packageSources >
7
+ <packageSourceMapping >
8
+ <packageSource key =" nuget.org" >
9
+ <package pattern =" *" />
10
+ </packageSource >
11
+ </packageSourceMapping >
12
+ </configuration >
Original file line number Diff line number Diff line change @@ -483,9 +483,11 @@ let publishTo (source : PushSource) _ =
483
483
}
484
484
PushParams = {
485
485
o.PushParams with
486
+ // TODO: Uncomment when migrated to F# 9
487
+ //NoSymbols = source.IsGitHub
486
488
Source =
487
489
match source with
488
- | NuGet -> None
490
+ | NuGet -> Some " nuget.org "
489
491
| GitHub -> Some " github.com"
490
492
ApiKey =
491
493
match source with
You can’t perform that action at this time.
0 commit comments