Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/copilot-ci-failure-handler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
- name: Comment on PR to Summon Copilot
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
WORKFLOW_NAME: ${{ github.event.workflow_run.name }}
RUN_URL: ${{ github.event.workflow_run.html_url }}
PR_NUMBER: ${{ github.event.workflow_run.pull_requests[0].number }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/copilot-review-handler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
- name: Comment on PR to Summon Copilot
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
PR_NUMBER: ${{ github.event.pull_request.number }}
REVIEWER: ${{ github.event.review.user.login }}
run: |
Expand Down
64 changes: 64 additions & 0 deletions .github/workflows/javadoc-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: Deploy Javadoc to GitHub Pages

on:
push:
branches:
- master
tags:
- 'v*.*.*'
release:
types: [published]
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
build:
name: Build Javadoc
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v7

- name: Set up Python
uses: actions/setup-python@v7
with:
python-version: '3.11'

- name: Set up JDK 17
uses: actions/setup-java@v6
with:
java-version: '17'
distribution: 'temurin'
cache: 'maven'

- name: Build Javadocs
run: |
mvn package -P release -DskipTests --batch-mode

- name: Configure GitHub Pages
uses: actions/configure-pages@v5

- name: Upload Javadoc Pages Artifact
uses: actions/upload-pages-artifact@v3
with:
path: tsql-scriptdom-core/target/apidocs

deploy:
name: Deploy to GitHub Pages
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
1 change: 1 addition & 0 deletions .github/workflows/pr-automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.pull_request.author_association)
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
PR_NUMBER: ${{ github.event.pull_request.number }}
run: |
echo "Enabling auto-merge for PR #${PR_NUMBER}..."
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Java 17+](https://img.shields.io/badge/Java-17%2B-blue.svg)](https://openjdk.org/)
[![Maven Central](https://img.shields.io/badge/Maven%20Central-Snapshot-orange.svg)](#)
[![Release](https://img.shields.io/github/v/release/fupacat/tsql-scriptdom-java)](https://github.com/fupacat/tsql-scriptdom-java/releases/latest)
[![Javadoc](https://img.shields.io/badge/Javadoc-GitHub%20Pages-blue.svg)](https://fupacat.github.io/tsql-scriptdom-java/)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=fupacat_tsql-scriptdom-java&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=fupacat_tsql-scriptdom-java)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=fupacat_tsql-scriptdom-java&metric=coverage)](https://sonarcloud.io/summary/new_code?id=fupacat_tsql-scriptdom-java)

Expand Down Expand Up @@ -59,13 +60,13 @@ Add the dependency to your project:
<dependency>
<groupId>io.github.fupacat</groupId>
<artifactId>tsql-scriptdom-core</artifactId>
<version>0.1.0-SNAPSHOT</version>
<version>0.1.1</version>
</dependency>
```

### Gradle
```groovy
implementation 'io.github.fupacat:tsql-scriptdom-core:0.1.0-SNAPSHOT'
implementation 'io.github.fupacat:tsql-scriptdom-core:0.1.1'
```

> **Note:** `tsql-scriptdom-core` has **zero external transitive dependencies**. The ANTLR runtime is completely shaded and relocated internally (`io.github.fupacat.internal.antlr`) to eliminate classpath collisions.
Expand Down
Loading