Skip to content

Commit

Permalink
Upload firmware to cowtransfer
Browse files Browse the repository at this point in the history
  • Loading branch information
P3TERX committed Mar 30, 2020
1 parent 5720485 commit 6eb2829
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-openwrt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ env:
SSH_ACTIONS: false
UPLOAD_BIN_DIR: false
UPLOAD_FIRMWARE: true
UPLOAD_COWTRANSFER: false
TZ: Asia/Shanghai

jobs:
Expand Down Expand Up @@ -112,3 +113,9 @@ jobs:
with:
name: OpenWrt_firmware
path: ${{ env.FIRMWARE }}

- name: Upload firmware to cowtransfer
if: env.UPLOAD_COWTRANSFER == 'true' && !cancelled()
run: |
curl -sL https://git.io/cowtransfer | sh
./cowtransfer-uploader -s -p 8 ${FIRMWARE}

0 comments on commit 6eb2829

Please sign in to comment.