Skip to content

Commit

Permalink
Readded download packages for speedup the compile process
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperKali committed Feb 5, 2025
1 parent b018511 commit b46c582
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/workflows/immortalwrt-builder-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,15 @@ jobs:
[ -n "$REPO_BRANCH" ] && sed -i \
-e 's|^CONFIG_VERSION_REPO=.*|CONFIG_VERSION_REPO="https://downloads.immortalwrt.org/releases/'"$REPO_BRANCH"'"|g' \
.config
- name: Download Required Packages
working-directory: ${{ runner.workspace }}/immortalwrt
run: |
make defconfig
make download -j$(nproc)
find dl -size -1024c -exec ls -l {} \;
find dl -size -1024c -exec rm -f {} \;
- name: Build Firmware
working-directory: ${{ runner.workspace }}/immortalwrt
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/immortalwrt-builder-selfhost.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,15 @@ jobs:
[ -n "$REPO_BRANCH" ] && sed -i \
-e 's|^CONFIG_VERSION_REPO=.*|CONFIG_VERSION_REPO="https://downloads.immortalwrt.org/releases/'"$REPO_BRANCH"'"|g' \
.config
make defconfig
- name: Download Required Packages
working-directory: ${{ runner.workspace }}/immortalwrt
run: |
make defconfig
make download -j$(nproc)
find dl -size -1024c -exec ls -l {} \;
find dl -size -1024c -exec rm -f {} \;
- name: Build Firmware
working-directory: ${{ runner.workspace }}/immortalwrt
run: |
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/immortalwrt-builder-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,14 @@ jobs:
[ -n "$REPO_BRANCH" ] && sed -i \
-e 's|^CONFIG_VERSION_REPO=.*|CONFIG_VERSION_REPO="https://downloads.immortalwrt.org/releases/'"$REPO_BRANCH"'"|g' \
.config
- name: Download Required Packages
working-directory: ${{ runner.workspace }}/immortalwrt
run: |
make defconfig
make download -j$(nproc)
find dl -size -1024c -exec ls -l {} \;
find dl -size -1024c -exec rm -f {} \;
- name: Build Firmware
working-directory: ${{ runner.workspace }}/immortalwrt
Expand Down

0 comments on commit b46c582

Please sign in to comment.