-
Notifications
You must be signed in to change notification settings - Fork 10
51 lines (41 loc) · 1.18 KB
/
dump.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: Dump
on:
workflow_dispatch:
inputs:
urls:
description: 'URLs'
required: true
jobs:
dump:
runs-on: ubuntu-latest
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 512
swap-size-mb: 1024
overprovision-lvm: true
remove-dotnet: true
remove-android: true
remove-codeql: true
remove-haskell: true
remove-docker-images: true
- name: Set up Git
uses: actions/checkout@v3
- name: Create .githubtoken file
run: echo "${{ secrets.GIT_TOKEN }}" > .githubtoken
#- name: Create .githubssh file
# run: echo "${{ secrets.GIT_SSH }}" > .githubssh
- name: Create .tgtoken file
run: echo "${{ secrets.TELEGRAM_TOKEN }}" > .tgtoken
- name: Set up environment
run: bash setup.sh
# protobuf-compiler is required for this
#- name: Install otadump
# uses: actions-rs/install@v0.1
# with:
# crate: otadump
# version: latest
- name: Run dumpyara
run: |
bash dumpyara.sh ${{ inputs.urls }}