From 8bbf8c71ec2118bf3a575cc3b9e0006bfcd57ec1 Mon Sep 17 00:00:00 2001 From: Nicholas Ruffing Date: Wed, 22 Nov 2023 10:13:07 -0500 Subject: [PATCH] output artifacts to correct directory --- .github/workflows/ci_cd.yml | 4 ++-- .github/workflows/example_api_ci_cd.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 0ded2a0..367254c 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -24,7 +24,7 @@ jobs: with: dotnet-version: '8.x' - name: dotnet pack - run: dotnet pack -c Release -o lib-pack + run: dotnet pack -c Release -o ${{github.workspace}}/lib-pack - name: Upload artifact for deployment job uses: actions/upload-artifact@v3 with: @@ -45,7 +45,7 @@ jobs: - name: Build with dotnet run: dotnet build --configuration Release - name: dotnet publish - run: dotnet publish -c Release -o example-api-release + run: dotnet publish -c Release -o ${{github.workspace}}/example-api-release - name: Upload artifact for deployment job uses: actions/upload-artifact@v3 with: diff --git a/.github/workflows/example_api_ci_cd.yml b/.github/workflows/example_api_ci_cd.yml index 938f35c..d9ec978 100644 --- a/.github/workflows/example_api_ci_cd.yml +++ b/.github/workflows/example_api_ci_cd.yml @@ -18,7 +18,7 @@ jobs: - name: Build with dotnet run: dotnet build --configuration Release - name: dotnet publish - run: dotnet publish -c Release -o example-api-release + run: dotnet publish -c Release -o ${{github.workspace}}/example-api-release - name: Upload artifact for deployment job uses: actions/upload-artifact@v3 with: