Skip to content

fix: rsocket configuration ability #45

fix: rsocket configuration ability

fix: rsocket configuration ability #45

name: Gradle Dev Publish
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'corretto'
- name: Cache Gradle dependencies
uses: actions/cache@v3
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
- name: Set Gradle executable permissions
run: chmod +x ./gradlew
- name: Build and Publish
env:
TIMEMATES_SSH_DEPLOY_PATH: ${{ secrets.TIMEMATES_SSH_DEPLOY_PATH }}
TIMEMATES_SSH_HOST: ${{ secrets.TIMEMATES_SSH_HOST }}
TIMEMATES_SSH_PASSWORD: ${{ secrets.TIMEMATES_SSH_PASSWORD }}
TIMEMATES_SSH_USER: ${{ secrets.TIMEMATES_SSH_USER }}
TIMEMATES_SDK_VERSION: dev-${{ github.sha }}
run: ./gradlew publish -Pversion=dev-${{ env.TIMEMATES_SDK_VERSION }}