Skip to content

Commit

Permalink
Update build pipeline (#1)
Browse files Browse the repository at this point in the history
* Update build pipeline
  • Loading branch information
bellons91 authored Jan 15, 2024
1 parent 4be0d76 commit f9128a2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ env:
DOTNET_VERSION: "8.x"
OUTPUT_PATH: ${{ github.workspace }}/artifact
ASSEMBLY_VERSION: 1.0.0.${{ github.run_number }}
ADR_PROJECT_FILE: "Cli.csproj"
ADR_PROJECT_FILE: "adr-power-cli.csproj"
# ADR_TESTPROJECT_FILE: "tests.csproj"
ADR_PROJECT_FILE_PATH: "./src/cli/Cli.csproj"
ADR_PROJECT_FILE_PATH: "./src/cli/adr-power-cli.csproj"
# ADR_TESTPROJECT_FILE_PATH: "./src/adr.tests/tests.csproj"
WINDOWS_RUNTIME: "win-x64"
UBUNTU_RUNTIME: "linux-x64"
Expand Down Expand Up @@ -82,11 +82,10 @@ jobs:

- name: Install dependencies
run: dotnet restore
working-directory: ./src

- name: Build
run: dotnet build ${{ env.ADR_PROJECT_FILE_PATH}} --runtime ${{ env.WINDOWS_RUNTIME }} --configuration ${{ env.CONFIGURATION }} -p:Version=${{ steps.gitversion.outputs.nuGetVersionV2 }}
# working-directory: ${{ env.ADR_PROJECT_FILE}}
run: dotnet build ${{ env.ADR_PROJECT_FILE}} --runtime ${{ env.WINDOWS_RUNTIME }} --configuration ${{ env.CONFIGURATION }} -p:Version=${{ steps.gitversion.outputs.nuGetVersionV2 }}
working-directory: ./src/cli

# - name: Test
# run: dotnet test ${{ env.ADR_TESTPROJECT_FILE }} --runtime ${{ env.WINDOWS_RUNTIME}} --verbosity normal
Expand Down

0 comments on commit f9128a2

Please sign in to comment.