Skip to content

fix: rsproto version #51

fix: rsproto version

fix: rsproto version #51

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:
REPOSILITE_USER: ${{ secrets.REPOSILITE_USER }}
REPOSILITE_SECRET: ${{ secrets.REPOSILITE_SECRET }}
LIB_VERSION: dev-${{ github.sha }}
run: ./gradlew publishKotlinMultiplatformPublicationToTimeMatesReleasesRepository -Pversion=${{ env.LIB_VERSION }}