diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 16cbbee..0e1b14f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,9 +11,17 @@ jobs: steps: - name: Checkout code base uses: actions/checkout@v3 - + + - name: Check + run: ls + + - name: Check + run: ls + working-directory: ./src + - name: Run tests run: dotnet test --verbosity normal + working-directory: ./src build: runs-on: windows-latest @@ -27,12 +35,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..a81023d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -54,9 +54,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"