chore: updated workflow

This commit is contained in:
Franek 2024-05-23 16:07:23 +02:00
parent b249eab1eb
commit 49541e9a7d

View File

@ -10,7 +10,6 @@ on:
jobs:
build:
runs-on: ubuntu-latest
env:
@ -29,7 +28,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'zulu' # See 'Supported distributions' for available options
distribution: 'zulu'
java-version: '17'
cache: 'gradle'
@ -55,7 +54,7 @@ jobs:
- name: Get app version
id: get_version
run: echo "VERSION_NAME=$(grep -m1 "versionName" app/build.gradle | awk '{print $2}' | tr -d \''"\')" >> $GITHUB_ENV
run: echo "VERSION_NAME=$(grep -m1 "versionName" app/build.gradle | awk '{print $2}' | tr -d \'\'\"\')" >> $GITHUB_ENV
- name: Change wrapper permissions
run: chmod +x ./gradlew