Skip to content

Commit 0855185

Browse files
committed
Publish Yura.Shared to NuGet
1 parent 80605ae commit 0855185

File tree

3 files changed

+21
-2
lines changed

3 files changed

+21
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v4
1212
- uses: actions/setup-dotnet@v4
1313
with:
14-
dotnet-version: 6.0.x
14+
dotnet-version: 8.0.x
1515

1616
- name: Install dependencies
1717
run: dotnet restore

.github/workflows/publish.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Publish
2+
3+
on: push
4+
5+
jobs:
6+
publish:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: actions/setup-dotnet@v4
12+
with:
13+
dotnet-version: 8.0.x
14+
15+
- name: Pack
16+
run: dotnet pack Yura.Shared --configuration Release --output artifacts
17+
18+
- name: Push
19+
run: dotnet nuget push artifacts/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json

Yura.Shared/Yura.Shared.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<TargetFramework>net8.0</TargetFramework>
55
<Nullable>enable</Nullable>
66

7-
<Version>1.7.0</Version>
7+
<Version>1.7.0-beta</Version>
88
</PropertyGroup>
99

1010
</Project>

0 commit comments

Comments
 (0)