This repository has been archived by the owner on Apr 17, 2024. It is now read-only.
Update API Client #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v3 | |
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 }} |