Skip to content

Commit

Permalink
Fix rm error when files don't actually exist to be deleted.
Browse files Browse the repository at this point in the history
  • Loading branch information
wyatt-howe committed Nov 7, 2023
1 parent f965bf9 commit 6036b04
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/lint-test-build-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@ jobs:
-
name: "Build wheel file."
run: |
# Compile platform-dependent binaries
# Compile platform-dependent binaries.
cd mcl*
make
ls lib
cd ..
# Remove prebuilt binaries
rm mclbn256/libmclbn256.*
rm mclbn256/lib/libmcl.*
# Remove prebuilt binaries (if any are leftover from an old build).
rm -r mclbn256/libmclbn256.*
rm -r mclbn256/lib/libmcl.*
# Copy binaries into Python module
# Copy binaries into Python module.
cp mcl-*/lib/libmclbn256.so mclbn256
cp mcl-*/lib/libmcl.so mclbn256/lib
Expand Down Expand Up @@ -141,17 +141,17 @@ jobs:
PYTHON_VERSION: "${{ matrix.PYTHON.ABI_VERSION }}"
name: "Build wheel file."
run: |
# Compile platform-dependent binaries
# Compile platform-dependent binaries.
cd mcl*
make
ls lib
cd ..
# Remove prebuilt binaries
rm mclbn256/libmclbn256.*
rm mclbn256/lib/libmcl.*
# Remove prebuilt binaries (if any are leftover from an old build).
rm -r mclbn256/libmclbn256.*
rm -r mclbn256/lib/libmcl.*
# Copy binaries into Python module
# Copy binaries into Python module.
cp mcl-*/lib/libmclbn256.dylib mclbn256
cp mcl-*/lib/libmcl.dylib mclbn256/lib
Expand Down Expand Up @@ -227,17 +227,17 @@ jobs:
PYTHON_VERSION: "${{ matrix.PYTHON.ABI_VERSION }}"
name: "Build wheel file."
run: |
# Compile platform-dependent binaries
# Compile platform-dependent binaries.
cd mcl*
make
ls lib
cd ..
# Remove prebuilt binaries
rm mclbn256/libmclbn256.*
rm mclbn256/lib/libmcl.*
# Remove prebuilt binaries (if any are leftover from an old build).
rm -r mclbn256/libmclbn256.*
rm -r mclbn256/lib/libmcl.*
# Copy binaries into Python module
# Copy binaries into Python module.
cp mcl-*/lib/libmclbn256.dylib mclbn256
cp mcl-*/lib/libmcl.dylib mclbn256/lib
Expand Down Expand Up @@ -308,17 +308,17 @@ jobs:
-
name: "Build wheel file."
run: |
# Compile platform-dependent binaries
# Compile platform-dependent binaries.
cd mcl*
make
ls lib
cd ..
# Remove prebuilt binaries
rm mclbn256/libmclbn256.*
rm mclbn256/lib/libmcl.*
# Remove prebuilt binaries (if any are leftover from an old build).
rm -r mclbn256/libmclbn256.*
rm -r mclbn256/lib/libmcl.*
# Copy binaries into Python module
# Copy binaries into Python module.
cp mcl-*/lib/libmclbn256.so mclbn256
cp mcl-*/lib/libmcl.so mclbn256/lib
Expand Down

0 comments on commit 6036b04

Please sign in to comment.