Skip to content

Commit

Permalink
Update main_domshyraapi.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
domshyra committed Apr 2, 2023
1 parent fb1ca91 commit 8dc16b0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main_domshyraapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ on:
jobs:
build:
runs-on: windows-latest

defaults:
run:
working-directory: Api

steps:
- uses: actions/checkout@v2

- run: ls ${{env.DOTNET_ROOT}}

- run: cd ${{env.DOTNET_ROOT}}

- run: ls
- name: Set up .NET Core
uses: actions/setup-dotnet@v1
Expand All @@ -34,13 +34,13 @@ jobs:


- name: dotnet publish
run: dotnet publish -c Release -o ${{env.DOTNET_ROOT}}/Api/Api
run: dotnet publish -c Release -o ${{env.DOTNET_ROOT}}/Api

- name: Upload artifact for deployment job
uses: actions/upload-artifact@v2
with:
name: .net-app
path: ${{env.DOTNET_ROOT}}/Api/Api
path: ${{env.DOTNET_ROOT}}/Api

deploy:
runs-on: windows-latest
Expand Down

0 comments on commit 8dc16b0

Please sign in to comment.