Skip to content

Commit

Permalink
Fix artifact upload and clean up build output
Browse files Browse the repository at this point in the history
  • Loading branch information
bagusnl authored Sep 22, 2024
1 parent 33e14dc commit cb60aa1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,10 @@ jobs:

- name: Build
run: |
dotnet publish CollapseLauncher -p:PublishProfile=Publish-DebugCIRelease -p:PublishDir=".\debug-build\" -v detailed
dotnet publish CollapseLauncher -p:PublishProfile=Publish-DebugCIRelease -p:PublishDir=".\debug-build\"
- name: Upload Artifact
uses: actions/[email protected]
if: ${{ matrix.configuration == 'Release' }}
with:
name: collapse_${{ matrix.platform }}-${{ matrix.configuration }}_${{ matrix.framework }}_${{ github.sha }}
path: ./CollapseLauncher/debug-build/
Expand Down Expand Up @@ -95,11 +94,10 @@ jobs:

- name: Build
run: |
dotnet publish CollapseLauncher -p:PublishProfile=Publish-DebugCIReleaseAOT -p:PublishDir=".\debug-aot-build\" -v detailed
dotnet publish CollapseLauncher -p:PublishProfile=Publish-DebugCIReleaseAOT -p:PublishDir=".\debug-aot-build\"
- name: Upload Artifact
uses: actions/[email protected]
if: ${{ matrix.configuration == 'Release' }}
with:
name: aot-experimental_collapse_${{ matrix.platform }}-${{ matrix.configuration }}_${{ matrix.framework }}_${{ github.sha }}
path: ./CollapseLauncher/debug-aot-build/
Expand Down

0 comments on commit cb60aa1

Please sign in to comment.