Skip to content

Commit

Permalink
Релиз 0.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
theshadowco committed Dec 26, 2023
2 parents b31f43a + d049c86 commit 62afe74
Show file tree
Hide file tree
Showing 1,472 changed files with 202,095 additions and 51,233 deletions.
30 changes: 22 additions & 8 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,34 @@ jobs:
strategy:
fail-fast: false
matrix:
java_version: ['11', '17', '20']
java_version: ['17', '20']
os: [ubuntu-latest, windows-latest, macOS-latest]
include:
- os: windows-latest
prefix: win
- os: ubuntu-latest
prefix: nix
- os: macOS-latest
prefix: mac
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
submodules: true
lfs: true
- name: Set up JDK ${{ matrix.java_version }}
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java_version }}
distribution: 'adopt'
distribution: 'liberica'
- name: Build with Gradle
run: ./gradlew check --stacktrace
- name: Archive test results
if: failure()
uses: actions/[email protected]
if: always() && matrix.prefix == 'nix'
uses: EnricoMi/publish-unit-test-result-action@v2
with:
junit_files: "**/test-results/test/**/*.xml"
- name: Archive test results
if: always() && matrix.prefix != 'nix'
uses: EnricoMi/publish-unit-test-result-action/composite@v2
with:
name: junit_report_${{ matrix.os }}_${{ matrix.java_version }}
path: build/reports/tests/test
junit_files: "**/test-results/test/**/*.xml"
16 changes: 9 additions & 7 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,23 @@ jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
submodules: true
lfs: true

- name: Setup JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'adopt'

distribution: 'liberica'
- name: Build javadoc
run: ./gradlew --no-daemon javadoc

- name: Set up Python
uses: actions/setup-python@v4.2.0
uses: actions/setup-python@v5.0.0
with:
python-version: '3.6'
python-version: '3.10'
architecture: 'x64'

- name: Install dependencies
Expand Down Expand Up @@ -122,7 +124,7 @@ jobs:
cp -R temp/site/. public/dev/en
- name: Deploy
uses: peaceiris/actions-gh-pages@v3.8.0
uses: peaceiris/actions-gh-pages@v3.9.3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_branch: gh-pages
Expand Down
37 changes: 37 additions & 0 deletions .github/workflows/publish-to-sonatype.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Publish to Sonatype

on:
release:
types: [published]
push:
branches:
- develop
workflow_dispatch:

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'liberica'
- name: Publish to Sonatype
run: ./gradlew publishMavenPublicationToSonatypeRepository -PsimplifyVersion
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }}
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryPassword: ${{ secrets.GPG_SIGNING_PASSWORD }}
- name: Close repository
if: github.event_name == 'release'
run: ./gradlew closeAndReleaseRepository
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }}
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }}
ORG_GRADLE_PROJECT_nexusUsername: ${{ secrets.SONATYPE_USERNAME }}
ORG_GRADLE_PROJECT_nexusPassword: ${{ secrets.SONATYPE_PASSWORD }}
31 changes: 31 additions & 0 deletions .github/workflows/qa-sq.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: QA

on:
push:
branches:
- develop
- master
pull_request:

jobs:
QA:
runs-on: ubuntu-latest
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.event.repository.full_name
steps:
- uses: actions/[email protected]
with:
fetch-depth: ''
submodules: true
lfs: true
- run: |
git fetch --prune --unshallow
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'liberica'
- name: SonarCloud Scan
run: ./gradlew check sonar
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29 changes: 0 additions & 29 deletions .github/workflows/qa.yml

This file was deleted.

8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,10 @@ build/
*.orig
/.idea/jarRepositories.xml
/.idea/compiler.xml
/.idea/**/*.iml
/.idea/inspectionProfiles/Project_Default.xml
/.idea/modules.xml
*.iml
/.idea/workspace.xml
/.idea/sonar*

/.idea/misc.xml
8 changes: 8 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[submodule "src/test/resources/ext/designer/ssl_3_1"]
path = src/test/resources/ext/designer/ssl_3_1
url = ../ssl_3_1.git
shallow = true
[submodule "src/test/resources/ext/edt/ssl_3_1"]
path = src/test/resources/ext/edt/ssl_3_1
url = ../ssl_3_1_edt.git
shallow = true
1 change: 0 additions & 1 deletion .idea/.name

This file was deleted.

5 changes: 0 additions & 5 deletions .idea/codeStyles/codeStyleConfig.xml

This file was deleted.

13 changes: 0 additions & 13 deletions .idea/dictionaries/vmaksimov.xml

This file was deleted.

35 changes: 15 additions & 20 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions .idea/mdclasses.iml

This file was deleted.

7 changes: 0 additions & 7 deletions .idea/misc.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

1 change: 1 addition & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 62afe74

Please sign in to comment.