mirror of
https://github.com/signalapp/Signal-Server
synced 2026-02-15 11:05:39 +00:00
Bumps the minor-actions-dependencies group with 1 update: [actions/setup-java](https://github.com/actions/setup-java).
Updates `actions/setup-java` from 5.0.0 to 5.2.0
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](dded088883...be666c2fcd)
---
updated-dependencies:
- dependency-name: actions/setup-java
dependency-version: 5.2.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: minor-actions-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
34 lines
1.0 KiB
YAML
34 lines
1.0 KiB
YAML
name: Update Documentation
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build:
|
|
permissions:
|
|
contents: write
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
- uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
|
|
with:
|
|
distribution: 'temurin'
|
|
java-version-file: .java-version
|
|
cache: 'maven'
|
|
- name: Compile and Build OpenAPI file
|
|
run: ./mvnw compile
|
|
- name: Update Documentation
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
run: |
|
|
cp -r api-doc/target/openapi/signal-server-openapi.yaml /tmp/
|
|
git config user.email "github@signal.org"
|
|
git config user.name "Documentation Updater"
|
|
git fetch origin gh-pages
|
|
git checkout gh-pages
|
|
cp /tmp/signal-server-openapi.yaml .
|
|
git diff --quiet || git commit -a -m "Updating documentation"
|
|
git push origin gh-pages -q
|