Update dependency org.redisson:redisson to v3.41.0 #1322
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: Pages | |
on: | |
push: | |
tags: [ "v*.*.*" ] | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
merge_group: | |
workflow_dispatch: | |
jobs: | |
build: | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@6524bf65af31da8d45b59e8c27de4bd072b392f5 # v3 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4 | |
with: | |
distribution: 'temurin' | |
java-version: 21 | |
cache: 'maven' | |
- name: Build Images | |
run: make all | |
- name: Get Latest Release Tag using GitHub Script | |
id: gh_latest_tag | |
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7 | |
with: | |
script: | | |
const latestRelease = await github.rest.repos.getLatestRelease({ | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
}); | |
const latestTag = latestRelease.data.tag_name || "v0.0.0"; // Default if no release | |
console.log(`Latest tag: ${latestTag}`); | |
core.setOutput("latest_tag", latestTag); | |
- name: Build OpenAPI Specs | |
working-directory: docs | |
run: make generate-openapi | |
- name: Setup Node | |
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4 | |
with: | |
node-version: 21 | |
cache: npm | |
cache-dependency-path: 'docs/package-lock.json' | |
- name: Build Documentation | |
working-directory: docs | |
env: | |
DOCS_BASE: "/${{ github.event.repository.name }}/" | |
VITE_LATEST_RELEASE: ${{ steps.gh_latest_tag.outputs.latest_tag }} | |
run: make build | |
- name: Setup Pages | |
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5 | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3 | |
with: | |
path: docs/.vitepress/dist | |
deploy: | |
if: github.ref_name == github.event.repository.default_branch | |
runs-on: ubuntu-24.04 | |
needs: [ build ] | |
permissions: | |
pages: write | |
id-token: write | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
steps: | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4 |