Skip to content

Commit 792895f

Browse files
authored
test
1 parent 32cadc9 commit 792895f

1 file changed

Lines changed: 18 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,44 @@
1+
name: build
12
on: [push]
23

34
jobs:
45
build:
6+
permissions:
7+
contents: write
8+
59
strategy:
610
matrix:
711
board: [nissa]
812

913
runs-on: ubuntu-latest
1014
timeout-minutes: 360
15+
1116
steps:
1217
- name: download repo
1318
uses: actions/checkout@v4
1419

15-
- name: run build
20+
- name: run full build
1621
run: |
1722
df -h /
1823
set -x
1924
sudo apt update
2025
sudo apt install -y pv
2126
sudo QUIET=1 ./build_complete.sh "${{ matrix.board }}" || sudo QUIET=1 ./build_complete.sh "${{ matrix.board }}" || sudo rm data/quickrecovery_${{ matrix.board }}.bin
27+
2228
- name: upload img
2329
uses: actions/upload-artifact@v4
2430
with:
2531
name: quickrecovery_${{ matrix.board }}
2632
path: data/quickrecovery_*.bin
27-
2833
compression-level: 7
34+
35+
- name: run simple build
36+
run: |
37+
sudo ./build.sh
38+
39+
- name: create release
40+
uses: ading2210/gh-large-releases@v1
41+
if: startsWith(github.ref, 'refs/tags/')
42+
with:
43+
draft: true
44+
files: out/*.zip

0 commit comments

Comments
 (0)