forked from eclipse/mraa
-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (35 loc) · 1.01 KB
/
new_version.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
name: Create release
on:
workflow_dispatch:
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
token: ${{secrets.GIT_PUSH_TOKEN}}
- name: Create release commit
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends -y git-buildpackage
export DEBEMAIL="dev@radxa.com"
export DEBFULLNAME='"Radxa Computer Co., Ltd"'
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
make dch
- name: Test
run: |
make test
sudo apt-get update
sudo apt-get build-dep --no-install-recommends -y .
make all
sudo apt install -y binfmt-support qemu-user-static
.github/container/build-deb
- name: Push
run: |
git push