Skip to content

Commit

Permalink
fix: add ls
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Feb 2, 2024
1 parent 1116231 commit a7aa346
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
- name: Check if binary is compiled
id: check_file
run: |
ls -l dist
(test -f dist/*.sha256sum && echo "EXISTS=true" >> $GITHUB_OUTPUT) || echo "EXISTS=false" >> $GITHUB_OUTPUT
- uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -71,6 +72,7 @@ jobs:
- name: Check if binary is compiled
id: check_file
run: |
ls -l dist
(test -f dist/*.sha256sum && echo "EXISTS=true" >> $GITHUB_OUTPUT) || echo "EXISTS=false" >> $GITHUB_OUTPUT
- uses: actions/upload-artifact@v4
Expand Down
5 changes: 4 additions & 1 deletion Dockerfile.linuxcross
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:bionic
FROM ubuntu:bionic AS build

USER root:root
WORKDIR /root/pkg-fetch/
Expand Down Expand Up @@ -40,3 +40,6 @@ ARG PKG_FETCH_OPTION_a
ARG PKG_FETCH_OPTION_n

RUN yarn start --arch $PKG_FETCH_OPTION_a --node-range $PKG_FETCH_OPTION_n --output dist

FROM scratch
COPY --from=build /root/pkg-fetch/dist /

0 comments on commit a7aa346

Please sign in to comment.