From 6fcb6d55dd52d2cc77e7a8752144810cadc856b0 Mon Sep 17 00:00:00 2001 From: QiubyZ Date: Mon, 9 Sep 2024 23:08:41 +0800 Subject: [PATCH] Test --- .github/workflows/main.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index eebd7db..906e763 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,9 +1,16 @@ name: Android CI on: - workflow_call: - -jobs: + push: + branches: [main] + +inputs: + body_release: + default: "Aplikasi ini otomatis dirilis sesuai dengan Artefact" + description: "Body Release" + +runs: + uses: composite build: runs-on: ubuntu-latest permissions: @@ -16,9 +23,8 @@ jobs: 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: @@ -45,7 +51,7 @@ jobs: with: tag_name: "${{env.TAG}}-${{github.run_number}}" release_name: ${{env.PROJECT_NAME}} - body: "Aplikasi ini otomatis dirilis sesuai dengan Artefact" + body: ${{inputs.body_release}} draft: false prerelease: false