CI: do not use ignored dist-pkg path

This commit is contained in:
Jesse Chan
2021-01-30 21:07:57 +08:00
parent f008e61bb5
commit c98ba918cd
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -231,12 +231,12 @@ jobs:
- uses: actions/download-artifact@v2
with:
name: flood-linux-arm64
path: dist-pkg
path: artifacts
- uses: actions/download-artifact@v2
with:
name: flood-linux-x64
path: dist-pkg
path: artifacts
- run: find .
@@ -6,11 +6,11 @@ WORKDIR /root
# Install Flood and dependencies to /bin
RUN mkdir -p /root/sysroot/bin
COPY ./dist-pkg dist-pkg
COPY ./artifacts artifacts
RUN if [[ `uname -m` == "aarch64" ]]; \
then mv dist-pkg/flood-linux-arm64 flood; \
then mv artifacts/flood-linux-arm64 flood; \
elif [[ `uname -m` == "x86_64" ]]; \
then mv dist-pkg/flood-linux-x64 flood; \
then mv artifacts/flood-linux-x64 flood; \
fi
RUN mv flood /root/sysroot/bin/flood
COPY --from=busybox /bin/busybox_DF /root/sysroot/bin/df