Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Free disk space
run: |
Expand All @@ -19,7 +19,7 @@ jobs:
git libncurses5-dev libssl-dev python3-distutils rsync unzip zlib1g-dev

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Hook the openwrt_core URL for opkg
run: |
Expand Down Expand Up @@ -73,25 +73,25 @@ jobs:
make -j$(nproc) IGNORE_ERRORS=1

- name: Upload bin to artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: bin-ipq50xx-arm
path: bin/targets/ipq50xx/arm/*

- name: Upload dl to artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dl
path: dl/*

gh-pages:
needs: [ build ]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
- name: Checkout gh-pages
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: 'gh-pages'
ref: 'gh-pages'
Expand All @@ -113,7 +113,7 @@ jobs:
git rebase --continue

- name: Download bin from artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: bin-ipq50xx-arm
path: bin/
Expand All @@ -137,21 +137,21 @@ jobs:

release:
needs: [ build ]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download dl from artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: dl
path: dl/

- name: Download bin from artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: bin-ipq50xx-arm
path: bin/targets/ipq50xx/arm/
Expand Down
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,23 @@ If you need more stable versions, please checkout the following branches which u
> wireless.radio1.channel='64'
> EOF
> ```
```shell
# 配置无线参数
uci -q batch <<-EOF
wireless.radio1.country='CN'
wireless.radio1.htmode='HE160'
wireless.radio1.channel='64'
EOF

# 提交更改并重启服务
uci commit wireless
service network restart

# 提示等待雷达检测
echo "等待 1 分钟以完成雷达检测..."
sleep 60
echo "检查 Wi-Fi 是否已启用。"
```

## How to build

Expand Down