Skip to content

Setup GitHub Actions #7

Setup GitHub Actions

Setup GitHub Actions #7

Workflow file for this run

name: build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: run dev container
uses: devcontainers/[email protected]
with:
runCmd: >
cd DotNet &&
dotnet publish &&
cd .. &&
cd Native &&
sudo ./gradlew dependencies &&
./gradlew assembleRelease
- name: archive apk
uses: actions/upload-artifact@v2
with:
name: apk
path: Native/app/build/outputs/apk/release
if-no-files-found: error