Skip to content

Commit 9a2d9fa

Browse files
committed
ci: sync with rsetup
Signed-off-by: ZHANG Yuntian <[email protected]>
1 parent d486987 commit 9a2d9fa

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,22 @@ jobs:
2727
exit 1
2828
fi
2929
- name: Test
30-
run: |
31-
make test
32-
- name: Build
3330
run: |
3431
sudo apt-get update
3532
sudo apt-get build-dep --no-install-recommends -y .
33+
sudo apt-get install --no-install-recommends -y git-buildpackage
34+
export DEBEMAIL="[email protected]"
35+
export DEBFULLNAME='"Radxa Computer Co., Ltd"'
36+
git config user.name "github-actions[bot]"
37+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
38+
git branch -m GITHUB_RUNNER || true
39+
git branch -D main || true
40+
git switch -c main || true
41+
make dch
42+
make test all deb
43+
git reset --hard HEAD~1
44+
- name: Build
45+
run: |
3646
make all deb
3747
- name: Workaround actions/upload-artifact#176
3848
run: |

0 commit comments

Comments
 (0)