Skip to content

Update GitHub Actions to use Java 17 #9

Update GitHub Actions to use Java 17

Update GitHub Actions to use Java 17 #9

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Build with Gradle
run: gradle :protect:build
- name: Create Release
uses: softprops/action-gh-release@v1
with:
files: |
protect/build/outputs/aar/protect-release.aar
generate_release_notes: true
draft: false
prerelease: false