refactor: method to automatically align text #457
Workflow file for this run
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
# Action name | |
name: build | |
# Here, this action will be enabled on all pushes. | |
# Modify this to fit your needs. | |
on: | |
push | |
# Jobs section | |
jobs: | |
# The job that will use the container image you just pushed to ghcr.io | |
build: | |
runs-on: ubuntu-20.04 | |
container: | |
image: klonyyy/mingw-w64-x86-64:2 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
token: ${{ secrets.PAT }} | |
- name: build_step | |
shell: bash | |
run: git config --global --add safe.directory /__w/MCUViewer/ && ./launch/release.sh | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: MCUViewer_installer | |
path: /__w/MCUViewer/MCUViewer/build/packages | |
test: | |
runs-on: ubuntu-20.04 | |
container: | |
image: klonyyy/mingw-w64-x86-64:2 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
token: ${{ secrets.PAT }} | |
- name: test_step | |
shell: bash | |
run: git config --global --add safe.directory /__w/MCUViewer/ && ./launch/run_tests.sh |