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 18776c1 commit 521a4b1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build-openwrt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

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

steps:
- name: Checkout code
uses: actions/checkout@v2

uses: actions/checkout@v3 # 更新到 v3
- name: Set up environment
run: |
export PATH="/usr/lib/ccache:$PATH" # 在步骤级别设置 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 521a4b1

Please sign in to comment.