Skip to content

add env.service_service to cicd.yaml #31

add env.service_service to cicd.yaml

add env.service_service to cicd.yaml #31

Workflow file for this run

name: Java CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
#
# - name: Validate Gradle wrapper
# uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
#
# - name: Build with Gradle
# uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
# with:
# arguments: build
- name: Project build
env:
SERVICE_VERSION: 1.0.${{ github.run_number }}
run: ./gradlew build -PprojectVersion=${SERVICE_VERSION} --build-cache