Skip to content

Instantly share code, notes, and snippets.

@PatilShreyas
Created Jan 21, 2022
Embed
What would you like to do?
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
- name: Grant Permission to Execute Gradle
run: chmod +x gradlew
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment