Skip to content

Dump firmware(s)

Dump firmware(s) #1

Workflow file for this run

name: Dump firmware(s)
on:
workflow_dispatch:
inputs:
urls:
description: 'URLs'
required: true
jobs:
dump:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Setup
run: |
sudo apt update
sudo apt -y install aria2 zstd
- name: Dump
id: dump
run: echo ${{ inputs.urls }} | xargs ./dump.sh
- name: Upload release assets
uses: ncipollo/release-action@v1
with:
artifacts: ota/*.img.zst
artifactErrorsFailBuild: true
body: ${{ steps.dump.outputs.body }}
tag: ${{ steps.dump.outputs.tag }}
token: ${{ secrets.GITHUB_TOKEN }}