-
-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
226 changed files
with
1,043 additions
and
1,014 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,36 +6,35 @@ on: | |
|
||
jobs: | ||
analyze: | ||
# ================================================================================================================== | ||
# Configuration. | ||
name: Analyze | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
with: | ||
# We must fetch at least the immediate parents so that if this is | ||
# a pull request then we can checkout the head. | ||
fetch-depth: 2 | ||
|
||
# If this run was triggered by a pull request event, then checkout | ||
# the head of the pull request instead of the merge commit. | ||
- run: git checkout HEAD^2 | ||
if: ${{ github.event_name == 'pull_request' }} | ||
|
||
# Initializes the CodeQL tools for scanning. | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v1 | ||
with: | ||
languages: java | ||
|
||
- name: JDK 11 Setup | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: '11' | ||
|
||
- name: Build, run tests, package and deploy to Maven central | ||
run: | | ||
mvn package | ||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v1 | ||
# ================================================================================================================ | ||
- name: JDK 11 Setup | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: 'adopt' | ||
java-version: '11' | ||
|
||
# ================================================================================================================ | ||
- name: Retrieve the sources | ||
uses: actions/checkout@v2 | ||
|
||
# ================================================================================================================ | ||
# Initializes the CodeQL tools for scanning. | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/[email protected] | ||
with: | ||
languages: java | ||
|
||
# ================================================================================================================ | ||
- name: Build, run tests and package | ||
run: | | ||
mvn package | ||
# ================================================================================================================ | ||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/[email protected] |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,27 +14,28 @@ jobs: | |
steps: | ||
# ================================================================================================================ | ||
- name: GPG Setup | ||
env: | ||
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} | ||
run: | | ||
echo "$GPG_PRIVATE_KEY" > private.asc | ||
gpg --import --batch private.asc | ||
env: | ||
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} | ||
# ================================================================================================================ | ||
- name: JDK 11 Setup | ||
uses: actions/setup-java@v1 | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: 'adopt' | ||
java-version: '11' | ||
server-id: ossrh | ||
server-username: MAVEN_USERNAME | ||
server-password: MAVEN_PASSWORD | ||
|
||
# ================================================================================================================ | ||
- name: Retrieve the sources | ||
uses: actions/checkout@v1 | ||
uses: actions/checkout@v2 | ||
|
||
# ================================================================================================================ | ||
- name: Build, run tests, package and deploy | ||
- name: Build, package and deploy | ||
id: package | ||
env: # Environment variables. | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -50,13 +51,12 @@ jobs: | |
# ================================================================================================================ | ||
- name: Build Changelog | ||
id: build_changelog | ||
uses: heinrichreimer/github-changelog-generator-action@v2.1.1 | ||
uses: heinrichreimer/github-changelog-generator-action@v2.2 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
# ================================================================================================================ | ||
- name: Create the release | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -142,7 +142,6 @@ jobs: | |
|
||
# ================================================================================================================ | ||
- name: Change release in website sources | ||
id: sed | ||
run: find . -type f -name "*.md" -exec sed -i 's/CASSANDRE_LATEST_RELEASE/${{ steps.getLatestRelease.outputs.release }}/g' {} \; | ||
|
||
# ================================================================================================================ | ||
|
@@ -156,9 +155,9 @@ jobs: | |
# ================================================================================================================ | ||
- name: Deploy the documentation website | ||
uses: JamesIves/[email protected].0 | ||
uses: JamesIves/[email protected].4 | ||
with: | ||
branch: gh-pages | ||
folder: docs/src/.vuepress/dist | ||
commit-message: "Documentation website update" | ||
clean: true | ||
clean: true |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,8 +14,7 @@ jobs: | |
steps: | ||
# ================================================================================================================ | ||
- name: Retrieve the sources | ||
id: sources | ||
uses: actions/checkout@v1 | ||
uses: actions/checkout@v2 | ||
|
||
# ================================================================================================================ | ||
- uses: pozetroninc/github-action-get-latest-release@master | ||
|
@@ -25,7 +24,6 @@ jobs: | |
|
||
# ================================================================================================================ | ||
- name: Change release in website sources | ||
id: sed | ||
run: find . -type f -name "*.md" -exec sed -i 's/CASSANDRE_LATEST_RELEASE/${{ steps.getLatestRelease.outputs.release }}/g' {} \; | ||
|
||
# ================================================================================================================ | ||
|
@@ -39,7 +37,7 @@ jobs: | |
# ================================================================================================================ | ||
- name: Deploy the documentation website | ||
uses: JamesIves/[email protected].0 | ||
uses: JamesIves/[email protected].4 | ||
with: | ||
branch: gh-pages | ||
folder: docs/src/.vuepress/dist | ||
|
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
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
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
Oops, something went wrong.