Skip to content

Commit

Permalink
Use cp instead of mv
Browse files Browse the repository at this point in the history
  • Loading branch information
fr1kin committed Feb 16, 2022
1 parent 8d0a4f7 commit e7c7eba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ jobs:
- name: Rename build files
run: |
pushd build/libs
mv ${{ steps.exec.outputs.slimjar }} NiSCore-SLIM.jar
mv ${{ steps.exec.outputs.libszip }} NiSCore-libs.zip
mv ${{ steps.exec.outputs.fatjar }} NiSCore-FAT.jar
cp ${{ steps.exec.outputs.slimjar }} NiSCore-SLIM.jar
cp ${{ steps.exec.outputs.libszip }} NiSCore-libs.zip
cp ${{ steps.exec.outputs.fatjar }} NiSCore-FAT.jar
popd
- name: Create release if this is a tagged workflow
Expand Down
2 changes: 2 additions & 0 deletions scripts/cibuild
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
if [[ "${1:-}" == "--help" ]]; then
usage
else
mkdir -p build/libs

# if mounting the hosts cache folder, gradle inside the container will try and
# acquire a file lock that the host machine may already be holding. this will
# result in the container hanging indefinitely. stopping any existing daemons
Expand Down

0 comments on commit e7c7eba

Please sign in to comment.