Skip to content

Commit

Permalink
Un-clog workflow - final attempt
Browse files Browse the repository at this point in the history
Should fix different random tags failing to build each time the workflow runs
  • Loading branch information
Loki-101 committed Nov 15, 2024
1 parent e1c90da commit 0876461
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ jobs:
- v1.11.8
- v1.11.9
- v1.11.10
max-parallel: 2
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
11 changes: 8 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,14 @@ RUN apk update && apk add --no-cache \
inotify-tools

# Install yarn and Pterodactyl dependencies, as well as update browserlist
RUN npm install -g yarn && \
yarn && \
npx update-browserslist-db@latest
RUN for i in {1..3}; do \
npm install -g yarn && \
yarn --network-timeout 120000 && \
npx update-browserslist-db@latest && \
break || \
echo "Attempt $i failed! Retrying..." && \
sleep 10; \
done

# Download and unzip the latest Blueprint release
RUN wget $(curl -s https://api.github.com/repos/BlueprintFramework/framework/releases/latest | grep 'browser_download_url' | cut -d '"' -f 4) -O blueprint.zip \
Expand Down

0 comments on commit 0876461

Please sign in to comment.