Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
Tonyha7 committed Oct 8, 2022
1 parent 84e2a3d commit e450f2c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,19 @@ jobs:
cache: 'pip'

- name: 准备twrpdtgen
run: pip install -r requirements.txt
run: pip3 install -r requirements.txt

- name: 下载
run: wget ${{ github.event.inputs.IMG }}

- name: Start build
- name:
run: |
mkdir dt
python3 -m twrpdtgen -o dt/ *.img
mkdir out
python3 -m twrpdtgen -o ./out/ *.img
- name: ZIP device tree
run: |
zip -r DeviceTree.zip ./dt/*
zip -r -9 DeviceTree.zip ./out/*
- name: Upload to Release
uses: softprops/action-gh-release@v1
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
twrpdtgen

0 comments on commit e450f2c

Please sign in to comment.