Create release #4
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 devscripts lintian git-buildpackage | |
sudo apt-get build-dep --no-install-recommends -y . | |
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 -f .github/build_assets/Makefile dch | |
- name: Test | |
run: | | |
make -f .github/build_assets/Makefile all test deb | |
- name: Push | |
run: | | |
git push |