Skip to content

Commit

Permalink
update build.yml and add markdownlint.json
Browse files Browse the repository at this point in the history
  • Loading branch information
alex2276564 committed Jan 9, 2025
1 parent 5e389c4 commit e17f143
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
globs: '**/*.md' # Checks all Markdown files in the repository
fix: true # automatically fixes simple problems
# config: '.markdownlint.json' # if you have a configuration file
config: '.markdownlint.json' # if you have a configuration file
# continue-on-error: true # to prevent the build from crashing due to errors in the documentation

build:
Expand All @@ -32,10 +32,11 @@ jobs:
java-version: 16
distribution: 'temurin'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4 # Обновлённая версия

- name: Build with Gradle
uses: gradle/gradle-build-action@v3
with:
arguments: build
run: ./gradlew build # Вместо deprecated "arguments"

- name: Upload artifact
uses: actions/upload-artifact@v4
Expand Down
3 changes: 3 additions & 0 deletions markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"MD013": false
}

0 comments on commit e17f143

Please sign in to comment.