Skip to content

Commit

Permalink
remove unnecessary prepare step
Browse files Browse the repository at this point in the history
  • Loading branch information
retailcoder committed Oct 27, 2024
1 parent a89bca6 commit 4fd2556
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/dotnet-cd.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
name: dotnet-CD

env:
DOTNET_VERSION: '8'

on:
push:
branches: [ "main" ]
Expand All @@ -18,11 +15,6 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set up .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}

- name: Set up dependency caching for faster builds
uses: actions/cache@v3
with:
Expand All @@ -35,7 +27,7 @@ jobs:
run: dotnet build rubberduckvba.Server --configuration Release

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

- name: Upload artifact for deployment job
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 4fd2556

Please sign in to comment.