Skip to content

Commit

Permalink
add workflow dispatch
Browse files Browse the repository at this point in the history
Signed-off-by: Stan Grishin <stangri@melmac.ca>
  • Loading branch information
stangri committed Mar 16, 2024
1 parent ee3eddb commit 8e55d2c
Showing 1 changed file with 31 additions and 24 deletions.
55 changes: 31 additions & 24 deletions .github/workflows/android.yml
Expand Up @@ -2,36 +2,43 @@ name: Android CI

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]
workflow_dispatch:
inputs:
logLevel:
description: "Log level"
required: true
default: "warning"
tags:
description: "Test scenario tags"

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Check out
uses: actions/checkout@v4
with:
submodules: "recursive"
fetch-depth: 0
- name: Check out
uses: actions/checkout@v4
with:
submodules: "recursive"
fetch-depth: 0

- name: set up JDK 17
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "17"

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Build with Gradle
run: ./gradlew assembleRelease

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build with Gradle
run: ./gradlew assembleRelease

- name: Upload PlayIntegrityFix.zip
uses: actions/upload-artifact@v4
with:
name: PlayIntegrityFix
path: module/*
- name: Upload PlayIntegrityFix.zip
uses: actions/upload-artifact@v4
with:
name: PlayIntegrityFix
path: module/*

0 comments on commit 8e55d2c

Please sign in to comment.