Making it possible to measure a light level from an ADC device for th… #226
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: Build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build | |
run: | | |
list="arm-musl arm-muslhf arm-glibc arm9-musl arm9-uclibc mips-musl" | |
for lib in $list; do | |
sh build.sh $lib | |
zip $lib divinus* | |
done | |
- name: Upload | |
if: github.event_name != 'pull_request' | |
uses: softprops/action-gh-release@v2 | |
with: | |
tag_name: latest | |
files: ./*.zip |