Skip to content

Commit 0d0df12

Browse files
author
Paul Joiner
committed
Merge branch 'v0.1.10-Pre' of https://github.com/pjoiner/DwC-A_dotnet.Interactive into v0.1.10-Pre
2 parents 108420c + 0c32c60 commit 0d0df12

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

.github/workflows/PublishNuget.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,11 @@ jobs:
1515
# Steps represent a sequence of tasks that will be executed as part of the job
1616
steps:
1717
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v3
1919

20-
- name: Publish NuGet
21-
uses: brandedoutcast/[email protected]
22-
with:
23-
# Filepath of the project to be packaged, relative to root of repository
24-
PROJECT_FILE_PATH: src/DwC-A_dotnet.Interactive/DwC-A_dotnet.Interactive.csproj
25-
# NuGet package id, used for version detection & defaults to project name
26-
# API key to authenticate with NuGet server
27-
NUGET_KEY: ${{ secrets.NUGET_API_KEY }}
20+
- name: Build
21+
run: dotnet build -c Release src/DwC-A_dotnet.Interactive/DwC-A_dotnet.Interactive.csproj
22+
- name: Package
23+
run: dotnet pack -c Release -o . src/DwC-A_dotnet.Interactive/DwC-A_dotnet.Interactive.csproj
24+
- name: Publish
25+
run: dotnet nuget push *.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json

.github/workflows/dotnet.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v3
1616
- name: Setup .NET
17-
uses: actions/setup-dotnet@v3.0.3
17+
uses: actions/setup-dotnet@v3
1818
with:
19-
dotnet-version: 6.0.x
19+
dotnet-version: 7.0.x
2020
- name: Restore dependencies
2121
run: dotnet restore
2222
- name: Build
2323
run: dotnet build --no-restore
2424
- name: Test
2525
run: dotnet test --no-build --verbosity normal
2626
- name: Upload a Build Artifact
27-
uses: actions/upload-artifact@v3.1.1
27+
uses: actions/upload-artifact@v3
2828
with:
2929
name: DwC-A_dotnet.Interactive.nupkg
3030
path: src/DwC-A_dotnet.Interactive/bin/Debug/DwC-A_dotnet.Interactive.*.nupkg

0 commit comments

Comments
 (0)