Skip to content

Commit 4fd2556

Browse files
committed
remove unnecessary prepare step
1 parent a89bca6 commit 4fd2556

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/dotnet-cd.yml

+1-9
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: dotnet-CD
22

3-
env:
4-
DOTNET_VERSION: '8'
5-
63
on:
74
push:
85
branches: [ "main" ]
@@ -18,11 +15,6 @@ jobs:
1815
steps:
1916
- uses: actions/checkout@v4
2017

21-
- name: Set up .NET Core
22-
uses: actions/setup-dotnet@v4
23-
with:
24-
dotnet-version: ${{ env.DOTNET_VERSION }}
25-
2618
- name: Set up dependency caching for faster builds
2719
uses: actions/cache@v3
2820
with:
@@ -35,7 +27,7 @@ jobs:
3527
run: dotnet build rubberduckvba.Server --configuration Release
3628

3729
- name: dotnet publish
38-
run: dotnet publish rubberduckvba.Server\rubberduckvba.Server --configuration Release --output ${{env.DOTNET_ROOT}}\pub
30+
run: dotnet publish --target rubberduckvba.Server\rubberduckvba.Server.csproj --configuration Release --output ${{env.DOTNET_ROOT}}\pub
3931

4032
- name: Upload artifact for deployment job
4133
uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)