File tree 2 files changed +8
-10
lines changed
2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 8
8
build :
9
9
env :
10
10
NUGET_TOKEN : ${{ secrets.NUGET_TOKEN }}
11
+ NUGET_FEED : https://api.nuget.org/v3/index.json
11
12
runs-on : windows-latest
12
13
13
14
steps :
@@ -16,18 +17,15 @@ jobs:
16
17
uses : actions/setup-dotnet@v1
17
18
with :
18
19
dotnet-version : 5.0.x
20
+
19
21
- name : Add Beta source
20
22
run : dotnet nuget add source "https://www.myget.org/F/umbracoprereleases/api/v3/index.json" -n "Umbraco Prereleases"
21
- - name : Restore dependencies
22
- run : dotnet restore
23
+
23
24
- name : Build
24
- run : dotnet build --no-restore
25
+ run : dotnet pack --include-source --include-symbols -c Release src/Our.Umbraco.GraphQL/Our.Umbraco.GraphQL.csproj -o .
26
+
25
27
# - name: Test
26
28
# run: dotnet test --no-build --verbosity normal
29
+
27
30
- name : Publish NuGet
28
- uses : brandedoutcast/publish-nuget@v2.5.5
29
- with :
30
- PROJECT_FILE_PATH : src/Our.Umbraco.GraphQL/Our.Umbraco.GraphQL.csproj
31
- VERSION_REGEX : ^\s*<versionPrefix>(.*)<\/versionPrefix>\s*$
32
- NUGET_KEY : ${{ env.NUGET_TOKEN }}
33
- INCLUDE_SYMBOLS : true
31
+ run : dotnet nuget push *.nupkg -s '${{ env.NUGET_FEED }}' -k '${{ env.NUGET_TOKEN }}'
Original file line number Diff line number Diff line change 9
9
<packageTags >umbraco umbracocms graphql</packageTags >
10
10
<copyright >Copyright © 2021 Rasmus John Pedersen</copyright >
11
11
<requireLicenseAcceptance >false</requireLicenseAcceptance >
12
- <versionPrefix >9.0.0-alpha003 </versionPrefix >
12
+ <versionPrefix >9.0.0-alpha004 </versionPrefix >
13
13
</PropertyGroup >
14
14
15
15
<PropertyGroup >
You can’t perform that action at this time.
0 commit comments