Skip to content

Test Release

Test Release #9

Workflow file for this run

name: Android CI
on:
push:
branches: ["main"]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
env:
FILE_OUTPUT: ./app/build/outputs/apk/debug/app-debug.apk
steps:
- uses: actions/checkout@v4
- name: Setting JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: memberikan Perizinan gradlew
run: chmod +x gradlew
- name: Build debug Apk
run: bash ./gradlew assembleDebug --stacktrace
- name: Upload Ke dalam Artifact
uses: actions/[email protected]
with:
name: 4LayT3xt
path: ${{env.FILE_OUTPUT}}
- name: Upload Release
uses: xresloader/upload-to-github-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
file: ${{env.FILE_OUTPUT}}
tag_name: ${{ github.ref }}
prelease: true
tags: true
verbose: true
draft: true