name: build on: push: branches: [main] tags: ['*'] concurrency: group: ${{ github.ref }} cancel-in-progress: true jobs: build: runs-on: ubuntu-latest container: image: docksee/nixos-gitea:${{ vars.NIX_IMAGE_VERSION }} steps: - uses: actions/checkout@v5 with: fetch-depth: 0 - name: Unit tests run: nix develop --command gradle --no-daemon :app:testReleaseUnitTest - name: Build release APK run: nix develop --command gradle --no-daemon :app:assembleRelease - uses: actions/upload-artifact@v3 with: name: android-webview-kiosk-apk path: app/build/outputs/apk/release/app-release.apk