Skip to content

Bump gradle/actions from 3 to 4 #64

Bump gradle/actions from 3 to 4

Bump gradle/actions from 3 to 4 #64

Workflow file for this run

name: build
on:
pull_request: {}
push:
branches:
- '**'
tags-ignore:
- '**'
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: gradle/actions/wrapper-validation@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 8
- run: ./gradlew build
- run: ./gradlew publish
if: ${{ github.ref == 'refs/heads/3.x' && github.repository == 'ReactiveX/RxAndroid' }}
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_USER }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_PASSWORD }}