Skip to content

Commit b4e8181

Browse files
committed
Add release CI job
1 parent f1570f3 commit b4e8181

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.github/workflows/publish.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Publish
2+
on:
3+
push:
4+
tags: ["*"]
5+
jobs:
6+
nuget-push:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
- uses: actions/setup-dotnet@v3
11+
with:
12+
dotnet-version: 6.0.x
13+
- run: dotnet pack
14+
- run: dotnet nuget push '*.nupkg' -s 'https://api.nuget.org/v3/index.json' -k '${{ secrets.NUGET_APIKEY }}' --skip-duplicate
15+
16+

ScipDotnet/ScipDotnet.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
<PackageLicenseFile>LICENSE</PackageLicenseFile>
1010
<PackageReadmeFile>readme.md</PackageReadmeFile>
1111
<RepositoryUrl>https://github.com/sourcegraph/scip-dotnet</RepositoryUrl>
12-
<PackageId>ScipDotnetter</PackageId>
1312
</PropertyGroup>
1413

1514
<ItemGroup>

0 commit comments

Comments
 (0)