Skip to content

Bump github/codeql-action from 2 to 3 #367

Bump github/codeql-action from 2 to 3

Bump github/codeql-action from 2 to 3 #367

Workflow file for this run

name: Build APK
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Setup Android SDK
uses: android-actions/setup-android@v3
- name: Create Google Services JSON File
env:
GOOGLE_SERVICES_JSON: ${{ secrets.GOOGLE_SERVICES_JSON }}
run: |
echo "$GOOGLE_SERVICES_JSON" > ./sources/target/app/google-services.json
echo "$GOOGLE_SERVICES_JSON" > ./sources/target/type-calculator/google-services.json
- name: Build with Gradle
uses: gradle/gradle-build-action@87a9a15658c426a54dd469d4fc7dc1a73ca9d4a6
with:
arguments: clean assemble test --stacktrace
- uses: actions/upload-artifact@v3
name: Upload artifacts
with:
name: outputs
path: sources/target/*/build/outputs