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 1e05019
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
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 1e05019

Please sign in to comment.