Dump firmware(s) #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Dump firmware(s) | |
on: | |
workflow_dispatch: | |
inputs: | |
urls: | |
description: 'URLs' | |
required: true | |
name: | |
description: 'Name' | |
required: true | |
jobs: | |
dump: | |
permissions: write-all | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Setup | |
run: | | |
sudo apt update | |
sudo apt -y install aria2 zstd p7zip-full | |
- name: Dump | |
id: dump | |
run: echo ${{ inputs.urls }} | xargs ./dump.sh | |
- name: Upload release assets | |
uses: ncipollo/release-action@v1 | |
with: | |
artifacts: out/*.7z* | |
artifactErrorsFailBuild: true | |
body: ${{ steps.dump.outputs.body }} | |
tag: ${{ steps.dump.outputs.tag }}_${{ github.event.inputs.name }} | |
token: ${{ secrets.GITHUB_TOKEN }} |