Skip to content

Nothing SDM Firmware Dumper #56

Nothing SDM Firmware Dumper

Nothing SDM Firmware Dumper #56

Workflow file for this run

name: SDM Firmware Dumper
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 parallel openssl xxhash
- name: Install gdown
run: |
python3 -m pip install gdown
- name: Set script permissions
run: |
chmod +x dump.sh
- name: Dump
id: dump
run: echo ${{ inputs.urls }} | xargs ./dump.sh
- name: Upload release assets
uses: ncipollo/release-action@v1
with:
artifacts: out/*
artifactErrorsFailBuild: true
body: ${{ steps.dump.outputs.body }}
tag: ${{ github.event.inputs.name }}
token: ${{ secrets.GITHUB_TOKEN }}