From f5f7865db19c21b5c93d35775b9a02a1e5022135 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thyge=20Sk=C3=B8dt=20Steffensen?= <31892312+thygesteffensen@users.noreply.github.com> Date: Mon, 29 Jul 2024 17:53:20 +0200 Subject: [PATCH] ci: Fix pipeline after refactor --- .github/workflows/build.yml | 6 +++++- .github/workflows/release.yml | 3 +++ .github/workflows/todo.yml | 3 ++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 16cbbee..be8ca93 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,9 +11,10 @@ jobs: steps: - name: Checkout code base uses: actions/checkout@v3 - + - name: Run tests run: dotnet test --verbosity normal + working-directory: ./src build: runs-on: windows-latest @@ -27,12 +28,15 @@ jobs: - name: Restore NuGet packages run: nuget restore PowerAutomateMockUp.sln + working-directory: ./src - name: Build solution run: msbuild /p:OutputPath=../build /p:Configuration=Release /p:RestorePackages=false + working-directory: ./src - name: Archive build to artifacts uses: actions/upload-artifact@v3 + working-directory: ./src with: name: build path: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9c848fc..dc6049b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,6 +16,7 @@ jobs: - name: Run tests run: dotnet test --verbosity normal + working-directory: ./src release: name: Releasing @@ -54,9 +55,11 @@ jobs: - name: Restore NuGet packages run: nuget restore PowerAutomateMockUp.sln + working-directory: ./src - name: Package Parser run: msbuild /t:pack /p:PackageVersion=${env:RELEASE_VERSION} /p:OutputPath=..\\artifacts + working-directory: ./src if: ${{ env.RELEASE_VERSION }} - name: Release to GitHub diff --git a/.github/workflows/todo.yml b/.github/workflows/todo.yml index b848d39..d65db07 100644 --- a/.github/workflows/todo.yml +++ b/.github/workflows/todo.yml @@ -6,7 +6,8 @@ on: - dev jobs: - build: + create-todoes: + name: Create todoes runs-on: "ubuntu-latest" steps: - uses: "actions/checkout@master"