From 939c73d75fc004f3127f2150d6b4df8e353f5d14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?An=C4=B1l=20M=C4=B1s=C4=B1rl=C4=B1o=C4=9Flu?= Date: Thu, 8 Apr 2021 16:42:51 +0300 Subject: [PATCH] ci: build workflow update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Anıl Mısırlıoğlu --- .github/workflows/build.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c901da1..6d505fa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,11 +32,11 @@ jobs: runs-on: ubuntu-latest steps: - # Setup Java 1.8 environment for the next steps + # Setup Java 11 environment for the next steps - name: Setup Java uses: actions/setup-java@v1 with: - java-version: 1.8 + java-version: 11 # Check out current repository - name: Fetch Sources @@ -73,11 +73,11 @@ jobs: artifact: ${{ steps.properties.outputs.artifact }} steps: - # Setup Java 1.8 environment for the next steps + # Setup Java 11 environment for the next steps - name: Setup Java uses: actions/setup-java@v1 with: - java-version: 1.8 + java-version: 11 # Check out current repository - name: Fetch Sources @@ -110,6 +110,7 @@ jobs: CHANGELOG="${CHANGELOG//$'\n'/'%0A'}" CHANGELOG="${CHANGELOG//$'\r'/'%0D'}" ARTIFACT="${NAME}-${VERSION}.zip" + echo "::set-output name=version::$VERSION" echo "::set-output name=name::$NAME" echo "::set-output name=changelog::$CHANGELOG" @@ -134,11 +135,11 @@ jobs: runs-on: ubuntu-latest steps: - # Setup Java 1.8 environment for the next steps + # Setup Java 11 environment for the next steps - name: Setup Java uses: actions/setup-java@v1 with: - java-version: 1.8 + java-version: 11 # Check out current repository - name: Fetch Sources