Re-fix macOS host + linux-bionic-arm64 target cross-compile (#10) #35
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: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: run dev container | |
uses: devcontainers/[email protected] | |
with: | |
runCmd: > | |
cd DotNet && | |
dotnet publish -bl:../Native/app/build/outputs/dotnet.binlog && | |
cd .. && | |
cd Native && | |
./gradlew assembleDebug && | |
./gradlew assembleRelease | |
- name: archive artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: outputs | |
path: Native/app/build/outputs | |
if-no-files-found: error |