Skip to content

Commit 5bcff3b

Browse files
Merge remote-tracking branch 'origin/main'
2 parents 63be1b2 + ab68b31 commit 5bcff3b

2 files changed

Lines changed: 40 additions & 4 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ jobs:
4040

4141
steps:
4242
- name: Checkout repository
43-
uses: actions/checkout@v4
43+
uses: actions/checkout@v6
4444

4545
# Initializes the CodeQL tools for scanning.
4646
- name: Initialize CodeQL
47-
uses: github/codeql-action/init@v2
47+
uses: github/codeql-action/init@v4
4848
with:
4949
languages: ${{ matrix.language }}
5050
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -58,7 +58,7 @@ jobs:
5858
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
5959
# If this step fails, then you should remove it and run the build manually (see below)
6060
- name: Autobuild
61-
uses: github/codeql-action/autobuild@v2
61+
uses: github/codeql-action/autobuild@v4
6262

6363
# ℹ️ BaseCommand-line programs to run using the OS shell.
6464
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -71,6 +71,6 @@ jobs:
7171
# ./location_of_script_within_repo/buildscript.sh
7272

7373
- name: Perform CodeQL Analysis
74-
uses: github/codeql-action/analyze@v2
74+
uses: github/codeql-action/analyze@v4
7575
with:
7676
category: "/language:${{matrix.language}}"
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Publish Javadoc
2+
3+
on:
4+
push:
5+
branches:
6+
- main # Cambia esto a la rama en la que trabajes
7+
8+
permissions:
9+
contents: write
10+
pages: write
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v6
19+
20+
- name: Set up JDK 11
21+
uses: actions/setup-java@v5
22+
with:
23+
java-version: '11'
24+
distribution: 'temurin'
25+
26+
- name: Build and generate Javadoc
27+
run: mvn clean package javadoc:javadoc
28+
29+
- name: List generated files (Debug Step)
30+
run: ls -R target/site
31+
32+
- name: Deploy Javadoc to GitHub Pages
33+
uses: peaceiris/actions-gh-pages@v4
34+
with:
35+
github_token: ${{ secrets.MY_GITHUB_TOKEN }}
36+
publish_dir: target/site/apidocs

0 commit comments

Comments
 (0)