Skip to content

Commit

Permalink
Update build-openwrt.yml
Browse files Browse the repository at this point in the history
Signed-off-by: aUsernameWoW <[email protected]>
  • Loading branch information
aUsernameWoW authored Dec 9, 2024
1 parent 521a4b1 commit 3c7e428
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build-openwrt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ on:

env:
FORCE_UNSAFE_CONFIGURE: 1
MODIFIED_PATH: /usr/lib/ccache:${{ env.PATH }}
CC: ccache gcc
CXX: ccache g++
CONFIG_CCACHE: y
Expand All @@ -23,11 +22,11 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3 # 更新到 v3
uses: actions/checkout@v3

- name: Set up environment
run: |
export PATH="/usr/lib/ccache:$PATH" # 在步骤级别设置 PATH
echo "/usr/lib/ccache" >> $GITHUB_PATH
sudo apt update
sudo apt install -y build-essential clang flex bison g++ gawk \
gcc-multilib g++-multilib gettext git libncurses5-dev libssl-dev \
Expand Down

0 comments on commit 3c7e428

Please sign in to comment.