mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
8f511a8707
Signed-off-by: C10udburst <serek.lego@gmail.com>
33 lines
787 B
YAML
33 lines
787 B
YAML
name: Pre-release
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
|
|
concurrency:
|
|
group: "pre-release"
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up JDK 8
|
|
uses: actions/setup-java@v2
|
|
with:
|
|
java-version: '8'
|
|
distribution: 'adopt'
|
|
- name: Grant execute permission for gradlew
|
|
run: chmod +x gradlew
|
|
- name: Run Gradle
|
|
run: ./gradlew assembleDebug
|
|
- name: Create pre-release
|
|
uses: "marvinpinto/action-automatic-releases@latest"
|
|
with:
|
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
|
automatic_release_tag: "pre-release"
|
|
prerelease: true
|
|
title: "Pre-release Build"
|
|
files: |
|
|
app/build/outputs/apk/debug/*.apk
|