File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Publish
2+ on :
3+ push :
4+ branches :
5+ - master
6+ - newbuild
7+ paths :
8+ - RELEASE_NOTES.md
9+ - .github/workflows/publish.yml
10+ jobs :
11+ fable :
12+ name : Fable
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout
16+ uses : actions/checkout@v2
17+ - name : Install Dotnet
18+ uses : actions/setup-dotnet@v1
19+ with :
20+ dotnet-version : ' 6.0.100'
21+ - name : Restore Tools
22+ run : dotnet tool restore
23+ - name : Paket Restore
24+ run : dotnet paket restore
25+ - name : Build
26+ run : dotnet fable src/Demo/Fable --outDir bin/Fable
27+ dotnet :
28+ name : DotNet
29+ runs-on : ubuntu-latest
30+ steps :
31+ - name : Checkout
32+ uses : actions/checkout@v2
33+ - name : Install Dotnet
34+ uses : actions/setup-dotnet@v1
35+ with :
36+ dotnet-version : ' 6.0.100'
37+ - name : Restore Tools
38+ run : dotnet tool restore
39+ - name : Paket Restore
40+ run : dotnet paket restore
41+ - name : Build
42+ run : dotnet build
43+ - name : Test
44+ run : dotnet test -l "console;verbosity=normal" --no-build --nologo
45+
46+
47+ publish :
48+ name : " Publish"
49+ needs :
50+ - fable
51+ - dotnet
52+ runs-on : windows-latest
53+ steps :
54+ - name : Checkout
55+ uses : actions/checkout@v2
56+ - name : Install Dotnet
57+ uses : actions/setup-dotnet@v1
58+ with :
59+ dotnet-version : ' 6.0.100'
60+ - name : Restore Tools
61+ run : dotnet tool restore
62+ - name : Paket Restore
63+ run : dotnet paket restore
64+ - name : Pack
65+ env :
66+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
67+ run : dotnet aardpack FSharp.Data.Adaptive.sln --notag --norelease
68+ - name : Upload Package
69+ uses : actions/upload-artifact@v2
70+ with :
71+ name : packages
72+ path : bin\pack
73+ # - name: NuGet
74+ # env:
75+ # NUGET_KEY: ${{ secrets.NUGET_KEY }}
76+ # shell: cmd
77+ # run: dotnet nuget push "bin\pack\*.nupkg" -k %NUGET_KEY% -s "https://api.nuget.org/v3/index.json" --skip-duplicate
Original file line number Diff line number Diff line change 1+ name : Test
2+ on : [push, pull_request]
3+ jobs :
4+ fable :
5+ name : Fable
6+ runs-on : ubuntu-latest
7+ steps :
8+ - name : Checkout
9+ uses : actions/checkout@v2
10+ - name : Install Dotnet
11+ uses : actions/setup-dotnet@v1
12+ with :
13+ dotnet-version : ' 6.0.100'
14+ - name : Restore Tools
15+ run : dotnet tool restore
16+ - name : Paket Restore
17+ run : dotnet paket restore
18+ - name : Build
19+ run : dotnet fable src/Demo/Fable --outDir bin/Fable
20+ dotnet :
21+ name : DotNet
22+ runs-on : ubuntu-latest
23+ steps :
24+ - name : Checkout
25+ uses : actions/checkout@v2
26+ - name : Install Dotnet
27+ uses : actions/setup-dotnet@v1
28+ with :
29+ dotnet-version : ' 6.0.100'
30+ - name : Restore Tools
31+ run : dotnet tool restore
32+ - name : Paket Restore
33+ run : dotnet paket restore
34+ - name : Build
35+ run : dotnet build
36+ - name : Test
37+ run : dotnet test -l "console;verbosity=normal" --no-build --nologo
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments