Skip to content

Commit db4a33c

Browse files
committed
Simplify github workflows
1 parent dffa75e commit db4a33c

2 files changed

Lines changed: 5 additions & 8 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,16 @@ jobs:
99
publish:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
13-
with:
14-
fetch-depth: 2
12+
- name: Checkout
13+
uses: actions/checkout@v4
1514

1615
- name: Setup .NET
1716
uses: actions/setup-dotnet@v3
1817
with:
1918
dotnet-version: 9.0.x
2019

21-
- name: Restore
22-
run: dotnet restore
23-
2420
- name: Build
25-
run: dotnet build -c Release --no-restore
21+
run: dotnet build -c Release
2622

2723
- name: Pack
2824
run: dotnet pack -c Release -o ./nuget --no-build

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ jobs:
1414
os: [ubuntu-latest]
1515

1616
steps:
17-
- uses: actions/checkout@v4
17+
- name: Checkout
18+
uses: actions/checkout@v4
1819

1920
- name: Setup .NET
2021
uses: actions/setup-dotnet@v3

0 commit comments

Comments
 (0)