Skip to content

Commit

Permalink
Create anroid.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
krolchonok authored Feb 24, 2024
1 parent 6f78b5b commit 25b4e92
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/anroid.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Android CI

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:
permissions: write-all
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Create Release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ./app/build/outputs/apk/release/app-release-unsigned.apk
tag: ${{ github.ref }}
overwrite: true
body: "apk"
prerelease: false

0 comments on commit 25b4e92

Please sign in to comment.