Create release #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | | |
sudo apt-get build-dep --no-install-recommends -y . | |
make all test deb | |
- name: Push | |
run: | | |
git push |