Skip to content

Commit

Permalink
Update build action
Browse files Browse the repository at this point in the history
  • Loading branch information
Grayray75 committed Aug 28, 2023
1 parent a53231b commit 3aa9458
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ indent_style = tab
indent_style = space
indent_size = 2

[*.yml]
indent_style = space
indent_size = 2

[*.properties]
indent_style = space
indent_size = 2
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,17 @@ on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-22.04
container:
image: eclipse-temurin:17-jdk
options: --user root
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: gradle/wrapper-validation-action@v1
- run: ./gradlew check build publishToMavenLocal --stacktrace --parallel --warning-mode=fail --refresh-dependencies
- uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: "17"
- run: ./gradlew check build publishToMavenLocal --stacktrace --parallel
- uses: actions/upload-artifact@v3
with:
name: Artifacts
Expand Down

0 comments on commit 3aa9458

Please sign in to comment.