Skip to content

Commit

Permalink
ci: Fix pipeline after refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
thygesteffensen committed Jul 29, 2024
1 parent 02e1ad4 commit f5f7865
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:

- name: Run tests
run: dotnet test --verbosity normal
working-directory: ./src

release:
name: Releasing
Expand Down Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ on:
- dev

jobs:
build:
create-todoes:
name: Create todoes
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@master"
Expand Down

0 comments on commit f5f7865

Please sign in to comment.