Skip to content

Update code-review.yml #10

Update code-review.yml

Update code-review.yml #10

Workflow file for this run

Namensgeber: Build Android .apk

Check failure on line 1 in .github/workflows/code-review.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/code-review.yml

Invalid workflow file

The workflow is not valid. .github/workflows/code-review.yml (Line: 1, Col: 1): Unexpected value 'Namensgeber'
on:
push:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
# runs-on: ubuntu-22.04 # this is the Ubuntu version that this was created on
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Java
uses: actions/setup-java@v3
with:
java-version: "11"
distribution: "adopt"
cache: "gradle"
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
# Node, Yarn and NPM
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Run Yarn Install & node dependencies
run: yarn install && yarn && yarn pods && cp .env.example .env
- name: android (TV) debug
run: yarn android
- name: List the .apks compiled
run: ls ./android/app/build/outputs/apk/release/ -hal
- name: Rename the .apk to the tag version
run: mv ./android/app/build/outputs/apk/release/app-universal-release.apk ./android/app/build/outputs/apk/release/app_name_${{ github.ref_name }}.apk