Add in some simple logging #23
This file contains hidden or 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: Deploy Dyad Bot | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - bc/build-dyad-bot | |
| pull_request: | |
| jobs: | |
| todo: | |
| name: Build dyad-bot | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: julia-actions/setup-julia@v2 | |
| with: | |
| version: '1.12' | |
| - uses: julia-actions/cache@v2 | |
| - name: Build dyad-bot | |
| run: | | |
| julia -e 'using Pkg; Pkg.update(); Pkg.Apps.add("JuliaC");' | |
| ~/.julia/bin/juliac --trim=unsafe-warn --output-exe ctrl --project deploy --bundle ctrl-bundle deploy/src/main.jl | |
| env: | |
| JULIA_CPU_TARGET: cortex-a53 | |
| - name: Create bundle archive | |
| run: zip -r ctrl-bundle.zip ctrl-bundle | |
| - name: Upload artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ctrl-bundle | |
| path: ctrl-bundle.zip |