diff --git a/.github/workflows/Openwrt-AutoBuild.yml b/.github/workflows/Openwrt-AutoBuild.yml index e0f242cd4ec6..b907443a9035 100644 --- a/.github/workflows/Openwrt-AutoBuild.yml +++ b/.github/workflows/Openwrt-AutoBuild.yml @@ -324,36 +324,10 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.TOKEN_KIDDIN9 }} with: - files: "${{ env.FIRMWARE }}/*" + files: "openwrt/bin/targets/*" name: ${{ env.date2 }} ${{matrix.target}} ${{ env.EMOJI }} tag_name: ${{ env.date }}_${{matrix.target}} body_path: release.txt - - name: WeChat notification - continue-on-error: true - if: env.SCKEY - run: | - # [ steps.compile.outputs.status == 'success' ] && curl https://sctapi.ftqq.com/${{ secrets.SCKEY }}.send?text=๐ŸŽ‰OpenWrt_${{ env.VERSION }}_${{matrix.target}}็ผ–่ฏ‘ๅฎŒๆˆ๐Ÿ˜‹|| curl https://sctapi.ftqq.com/${{ secrets.SCKEY }}.send?text=โŒOpenWrt_${{ env.VERSION }}_${{matrix.target}}็ผ–่ฏ‘ๅคฑ่ดฅ๐Ÿ˜‚ - - name: Telegram notification - if: env.TELEGRAM_TOKEN && ! contains(github.event.action, 'notg') - continue-on-error: true - run: | - curl -k --data chat_id="${{ env.TELEGRAM_CHAT_ID }}" --data "text=๐ŸŽ‰ OpenWrt ${{ env.VERSION }} ${{matrix.target}} ็ผ–่ฏ‘ๆˆๅŠŸ ๐Ÿ˜‹ https://dl.openwrt.ai/firmware/${{matrix.target}}/ ${{ env.COWURL }} ${{ env.WETRANS }} ๐Ÿš€" "https://api.telegram.org/bot${{ env.TELEGRAM_TOKEN }}/sendMessage" - - name: Delete workflow runs - uses: GitRML/delete-workflow-runs@main - continue-on-error: true - with: - retain_days: 100 - keep_minimum_runs: 0 - - - name: Remove old Releases - uses: dev-drprasad/delete-older-releases@master - continue-on-error: true - if: env.UPLOAD_FIRMWARE_FOR_RELEASE == 'true' && !cancelled() - with: - keep_latest: 15 - delete_tags: true - env: - GITHUB_TOKEN: ${{ secrets.TOKEN_KIDDIN9 }}