-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The archives were overwriting each other because they have the same name. Fix that by giving them a OS-specific name. Also better for users downloading the package - they can choose the one for their system.
- Loading branch information
1 parent
0a8160d
commit 14cfbac
Showing
1 changed file
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,6 +38,7 @@ jobs: | |
-Dramses-sdk_ENABLE_WAYLAND_IVI=OFF | ||
cmake --build . --target package --config $BUILD_TYPE | ||
find . -name '*tar.gz' -exec bash -c 'mv $0 ramses-linux.tar.gz' {} \; | ||
if: ${{ matrix.os == 'ubuntu-20.04' }} | ||
|
||
- name: Build and package (Windows) | ||
|
@@ -64,20 +65,22 @@ jobs: | |
-Dramses-sdk_ENABLE_WAYLAND_IVI=OFF | ||
cmake --build . --target package --config $BUILD_TYPE | ||
find . -name '*tar.gz' -exec bash -c 'mv $0 ramses-windows.tar.gz' {} \; | ||
if: ${{ matrix.os == 'windows-2019' }} | ||
|
||
- name: Publish release | ||
uses: softprops/[email protected] | ||
with: | ||
fail_on_unmatched_files: true | ||
files: | | ||
${{runner.workspace}}/build/ramses-sdk*.tar.gz | ||
${{runner.workspace}}/build/ramses-windows.tar.gz | ||
if: ${{ matrix.os == 'windows-2019' }} | ||
|
||
- name: Publish release | ||
uses: softprops/[email protected] | ||
with: | ||
fail_on_unmatched_files: true | ||
files: | | ||
${{runner.workspace}}/build/ramses-sdk*.tar.gz | ||
${{runner.workspace}}/build/ramses-linux.tar.gz | ||
if: ${{ matrix.os == 'ubuntu-20.04' }} |