From e60a8b7251534d627313ef163975bf44b3e1cafd Mon Sep 17 00:00:00 2001 From: iadgovuser29 <33426478+iadgovuser29@users.noreply.github.com> Date: Fri, 12 Apr 2024 14:15:36 -0400 Subject: [PATCH] Change working directory for workflows --- .github/workflows/dotnet-build-hardwaremanifest.yml | 6 ++++-- .github/workflows/dotnet-build-paccor_scripts.yml | 7 +++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dotnet-build-hardwaremanifest.yml b/.github/workflows/dotnet-build-hardwaremanifest.yml index 4724fb9..870e9d3 100644 --- a/.github/workflows/dotnet-build-hardwaremanifest.yml +++ b/.github/workflows/dotnet-build-hardwaremanifest.yml @@ -13,13 +13,15 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: 6.0.x - - name: Go to HardwareManifest directory - run: cd dotnet/HardwareManifest - name: Restore dependencies + working-directory: dotnet/HardwareManifestPlugin run: dotnet restore - name: Build + working-directory: dotnet/HardwareManifestPlugin run: dotnet build - name: Test + working-directory: dotnet/HardwareManifestPlugin run: dotnet test - name: Pack + working-directory: dotnet/HardwareManifestPlugin run: dotnet pack \ No newline at end of file diff --git a/.github/workflows/dotnet-build-paccor_scripts.yml b/.github/workflows/dotnet-build-paccor_scripts.yml index 0cb857c..4dd67e6 100644 --- a/.github/workflows/dotnet-build-paccor_scripts.yml +++ b/.github/workflows/dotnet-build-paccor_scripts.yml @@ -13,16 +13,19 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: 6.0.x - - name: Go to paccor_scripts directory - run: cd dotnet/paccor_scripts - name: Restore dependencies + working-directory: dotnet/paccor_scripts run: dotnet restore - name: Build + working-directory: dotnet/paccor_scripts run: dotnet build - name: Test + working-directory: dotnet/paccor_scripts run: dotnet test - name: Pack + working-directory: dotnet/paccor_scripts run: dotnet pack + working-directory: dotnet/paccor_scripts/paccor_scripts - name: Publish run: | dotnet -r linux-x64 -c Release