Skip to content

Commit

Permalink
Add Github actions snapshot yml.
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasValenta committed Mar 13, 2023
1 parent fe40559 commit d4578c5
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build & Publish Snapshot APK

on:
push:
tags:
- '*'

jobs:
release:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'

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

- name: Build, check, test, assemble
run: ./gradlew build

- name: Publish snapshot to the GitHub
uses: softprops/action-gh-release@v1
with:
files: app/build/outputs/apk/debug/*.apk

0 comments on commit d4578c5

Please sign in to comment.