Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
fightroad committed Nov 19, 2024
1 parent 55bf237 commit fbea2f2
Showing 1 changed file with 39 additions and 5 deletions.
44 changes: 39 additions & 5 deletions .github/workflows/build-LEDE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,43 @@ jobs:
make -j$(nproc) || make -j1 || make -j1 V=s
echo "compile_status=success" >> $GITHUB_ENV
- name : Upload packages
uses: actions/upload-artifact@master
if: always()
# - name : Upload packages
# uses: actions/upload-artifact@master
# if: always()
# with:
# name: ipq807x
# path: openwrt/bin/targets/qualcommax

- name: cp output to upload file
run: |
df -hT
mkdir upload
cp openwrt/bin/targets/*/*/*.ubi upload/
cp openwrt/bin/targets/*/*/*.bin upload/
- name: Get Current Date
run: echo "CURRENT_DATE=$(date '+%Y%m%d%H%M%S')" >> $GITHUB_ENV

- name: Upload OpenWrt Firmware to Release
uses: ncipollo/release-action@main
with:
tag: LEDE_NSS_${{ env.CURRENT_DATE }}
artifacts: upload/*
allowUpdates: true
token: ${{ secrets.GITHUB_TOKEN }}
body: |
基于lede openwrt构建
首次使用建议全新刷写
nss是否有效自己测试!
* 基本信息
IP: 192.168.1.1
账户: root
密码: password
- name: Delete old releases
uses: dev-drprasad/delete-older-releases@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
name: ipq807x
path: openwrt/bin/targets/qualcommax
keep_latest: 10
delete_tags : true

0 comments on commit fbea2f2

Please sign in to comment.