Skip to content

Commit

Permalink
Update r66s-6.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
popeyema authored Mar 22, 2024
1 parent 81c9dd0 commit 6ad01fa
Showing 1 changed file with 30 additions and 25 deletions.
55 changes: 30 additions & 25 deletions .github/workflows/r66s-6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -235,36 +235,41 @@ jobs:
name: OpenWrt_firmware${{ env.DEVICE_NAME }}${{ env.FILE_DATE }}
path: ${{ env.FIRMWARE }}

- name: Create release
uses: ncipollo/release-action@v1
with:
name: ${{ env.DATE }} ❤️ | FastRhino-R66S-linux-固件下载
allowUpdates: true
tag: ${{ env.tag_name }}
commit: main
token: ${{ secrets.actions_release }}
body: |
★ 源码 : https://github.com/coolsnowwolf/lede
★ 分支 : master
★ 感谢源码作者无私分享!
编译使用版本:
${{ env.useVersionInfo }}
刷机固件简介:
打包日期:${{ env.PACKAGED_OUTPUTDATE }}
⏰ 编译时间:${{ env.FILE_TIME1 }}
- name: 生成发布标签
id: tag
if: env.UPLOAD_RELEASE == 'true' && !cancelled()
run: |
echo "release_tag=$(date +"%Y.%m.%d")" >> $GITHUB_OUTPUT
echo "release_date=$(date +"%Y.%m.%d")" >> $GITHUB_OUTPUT
touch release.txt
echo "
★ 源码 : https://github.com/coolsnowwolf/lede
★ 分支 : master
★ 感谢源码作者无私分享!
⏰ 编译时间:${{ env.FILE_TIME1 }}
🎈 内核版本:${{ env.KERNEL_VERSION }}
🎈 内核版本:${{ env.KERNEL_VERSION }}
🎉 编译版本:${{ env.DISTRIB_REVISION }}
🎉 编译版本:${{ env.DISTRIB_REVISION }}
🖥 管理地址:192.168.1.1
🖥 管理地址:192.168.1.1
🌴 名称:root
🌴 名称:root
🛠 密码:password
artifacts: "${{ env.FIRMWARE }}/*.*,${{ env.PACKAGED_OUTPUTPATH }}/*.*"
🛠 密码:password" >> release.txt
echo "status=success" >> $GITHUB_OUTPUT
- name: 自动发布固件到 Releases
uses: softprops/action-gh-release@master
if: steps.tag.outputs.status == 'success' && !cancelled()
env:
GITHUB_TOKEN: ${{ secrets.GIT_USER_TOKEN }}
with:
name: ${{ steps.tag.outputs.release_date }} FastRhino-R66S-linux-固件下载
tag_name: ${{ steps.tag.outputs.release_tag }}
body_path: release.txt
files: ${{ env.FIRMWARE }}/*.img.gz

- name: 删除运行记录
uses: Mattraks/delete-workflow-runs@main
Expand Down

0 comments on commit 6ad01fa

Please sign in to comment.