From 7285f7da228b4460a57532600e765f02255ed632 Mon Sep 17 00:00:00 2001 From: "Doan Dinh (Nick)" <88996251+doannimble@users.noreply.github.com> Date: Fri, 1 Oct 2021 15:33:35 +0700 Subject: [PATCH] Update relese.yml --- .github/workflows/relese.yml | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/relese.yml b/.github/workflows/relese.yml index 89a0bd7..ee84df3 100644 --- a/.github/workflows/relese.yml +++ b/.github/workflows/relese.yml @@ -15,17 +15,11 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - - name: Read version.properties - id: version - uses: juliangruber/read-file-action@v1 + - uses: madhead/read-java-properties@latest + id: all with: - path: ./test.abc - - - uses: rishabhgupta/split-by@v1 - id: split - with: - string: "${{ steps.version.outputs.content }}" - split-by: '=' + file: gradle.properties + all: true - name: Create Release id: create_release @@ -33,7 +27,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: "312" - release_name: "Release ${{ steps.split.outputs._1}}" + tag_name: "${{ steps.all.outputs.version }}" + release_name: "Release ${{ steps.all.outputs.version }}" draft: false prerelease: false