Skip to content

Commit

Permalink
ci: fix release files being written to wrong directory in some cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Silverlan authored Nov 2, 2023
1 parent 120d7a7 commit e605da6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-linux-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
run: |
if [ -n "${{ steps.module-info.outputs.release_directory }}" ]; then
mkdir -p "release/${{ steps.module-info.outputs.release_directory }}"
cp -r "${{ steps.build-module.outputs.install-dir }}/${{ steps.module-info.outputs.release_directory }}" "release/${{ steps.module-info.outputs.release_directory }}"
cp -a "${{ steps.build-module.outputs.install-dir }}/${{ steps.module-info.outputs.release_directory }}." "release/${{ steps.module-info.outputs.release_directory }}"
else
mkdir -p "release/${{ steps.module-info.outputs.install_directory }}"
cp "${{ steps.build-module.outputs.install-dir }}/${{ steps.module-info.outputs.install_directory }}lib${{ steps.module-info.outputs.module_name }}.so" "release/${{ steps.module-info.outputs.install_directory }}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-windows-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
run: |
if [ -n "${{ steps.module-info.outputs.release_directory }}" ]; then
mkdir -p "release/${{ steps.module-info.outputs.release_directory }}"
cp -r "${{ steps.build-module.outputs.install-dir }}/${{ steps.module-info.outputs.release_directory }}" "release/${{ steps.module-info.outputs.release_directory }}"
cp -a "${{ steps.build-module.outputs.install-dir }}/${{ steps.module-info.outputs.release_directory }}." "release/${{ steps.module-info.outputs.release_directory }}"
else
mkdir -p "release/${{ steps.module-info.outputs.install_directory }}"
cp "${{ steps.build-module.outputs.install-dir }}/${{ steps.module-info.outputs.install_directory }}${{ steps.module-info.outputs.module_name }}.dll" "release/${{ steps.module-info.outputs.install_directory }}"
Expand Down

0 comments on commit e605da6

Please sign in to comment.