Skip to content

V0.7.0

V0.7.0 #11

name: auto_build_for_ubuntu
on:
release:
types: [published]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: create folder
run: |
mkdir dist
- name: check folder
run: |
ls -lah
- name: build with docker
run: |
docker run \
-u root:root \
-e BOARD \
-e BRANCH_BUILD=main\
-v $(pwd)/dist/:/home/builduser/dist \
sgngodin/builddesktopbraillerap:latest
- name: check result files
run: |
ls -lah ./dist/*
- name: Add to release
uses: svenstaro/upload-release-action@v2
with:
tag: ${{ github.ref }}
overwrite: true
file_glob: true
file: ./dist/desktopbraillerap-ubuntu-*
- name: Upload artifact
uses: actions/upload-artifact@v4.3.3
with:
name: desktopbraillerap-ubuntu
path: ./dist/desktopbraillerap-ubuntu-*