Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Update API Client

Update API Client #14

Workflow file for this run

name: release
on:
push:
tags:
- "*"
permissions:
contents: write
packages: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- id: generate_token
uses: tibdex/github-app-token@v2
with:
app_id: ${{ secrets.GH_APP_ID }}
private_key: ${{ secrets.GH_APP_PRIVATE_KEY }}
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ steps.generate_token.outputs.token }}
- uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "20"
cache: "gradle"
- uses: gradle/gradle-build-action@v2
with:
arguments: publish
gradle-version: "8.4"
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}