Skip to content

Commit

Permalink
Change release output.
Browse files Browse the repository at this point in the history
Signed-off-by: Kristian Gergov <kristian@gergov.bg>
  • Loading branch information
t1stm committed Sep 27, 2024
1 parent a673868 commit 9702ef0
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,22 +53,21 @@ jobs:
-p:IncludeNativeLibrariesForSelfExtract=true \
-o ./bin/${{ matrix.platform }}/ThirtyDollarVisualizer
# Zip the build outputs
- name: Zip ThirtyDollarConverterGUI
# Clean up unnecessary files before zipping
- name: Clean up build artifacts
run: |
cd bin/${{ matrix.platform }}/ThirtyDollarConverterGUI
zip -r ../../${{ matrix.platform }}-ThirtyDollarConverterGUI.zip .
rm -rf ./bin/${{ matrix.platform }}/ThirtyDollarConverterGUI/*.dll ./bin/${{ matrix.platform }}/ThirtyDollarConverterGUI/*.dylib ./bin/${{ matrix.platform }}/ThirtyDollarConverterGUI/*.so ./bin/${{ matrix.platform }}/ThirtyDollarConverterGUI/runtimes
rm -rf ./bin/${{ matrix.platform }}/ThirtyDollarVisualizer/*.dll ./bin/${{ matrix.platform }}/ThirtyDollarVisualizer/*.dylib ./bin/${{ matrix.platform }}/ThirtyDollarVisualizer/*.so ./bin/${{ matrix.platform }}/ThirtyDollarVisualizer/runtimes
- name: Zip ThirtyDollarVisualizer
# Zip the executables of both projects together
- name: Zip both projects together
run: |
cd bin/${{ matrix.platform }}/ThirtyDollarVisualizer
zip -r ../../${{ matrix.platform }}-ThirtyDollarVisualizer.zip .
cd bin/${{ matrix.platform }}
zip -r ../${{ matrix.platform }}-release.zip ThirtyDollarConverterGUI ThirtyDollarVisualizer
# Upload the zipped release assets as artifacts
- name: Upload release artifacts
- name: Upload release artifact
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.platform }}-release
path: |
bin/${{ matrix.platform }}-ThirtyDollarConverterGUI.zip
bin/${{ matrix.platform }}-ThirtyDollarVisualizer.zip
path: bin/${{ matrix.platform }}-release.zip

0 comments on commit 9702ef0

Please sign in to comment.