Skip to content

Commit

Permalink
only care about release builds
Browse files Browse the repository at this point in the history
  • Loading branch information
checkymander committed Feb 16, 2024
1 parent c41b868 commit a1d465a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
configuration: [Debug, Release]
configuration: [Release]
os: [ubuntu-latest, macos-latest, windows-latest]
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on

Expand Down Expand Up @@ -44,15 +44,15 @@ jobs:
# run: dotnet test
- name: Build Agent Linux
if: matrix.os == 'ubuntu-latest'
run: dotnet publish Payload_Type/athena/athena/agent_code/Agent.sln /p:LinuxTest=True
run: dotnet publish Payload_Type/athena/athena/agent_code/Agent.sln -c Release /p:LinuxTest=True

- name: Build Agent MacOS
if: matrix.os == 'macos-latest'
run: dotnet publish Payload_Type/athena/athena/agent_code/Agent.sln /p:MacTest=True
run: dotnet publish Payload_Type/athena/athena/agent_code/Agent.sln -c Release /p:MacTest=True

- name: Build Agent Windows
if: matrix.os == 'windows-latest'
run: dotnet publish Payload_Type\athena\athena\agent_code\Agent.sln /p:WindowsTest=True
run: dotnet publish Payload_Type\athena\athena\agent_code\Agent.sln -c Release /p:WindowsTest=True

# Restore the application to populate the obj folder with RuntimeIdentifiers
#- name: Restore the application
Expand Down

0 comments on commit a1d465a

Please sign in to comment.