Skip to content

Commit

Permalink
fixed gh-actions gradle test&build
Browse files Browse the repository at this point in the history
  • Loading branch information
Dpbm committed Nov 26, 2023
1 parent 40e1bc5 commit f4cb8a8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/gh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,21 @@ jobs:
test_and_build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@ccb4328a959376b642e027874838f60f8e596de3
- name: Build with Gradle
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629
with:
arguments: build
- name: Checkout project sources
uses: actions/checkout@v3

- name: Setup Gradle
uses: gradle/gradle-build-action@v2

- name: Run tests
run: ./gradlew test

- name: Run build with Gradle Wrapper
run: ./gradlew build

publish_to_gh_packages:
runs-on: ubuntu-latest
needs: test_and_build
permissions:
contents: read
packages: write
Expand Down
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"Doclet",
"Entscheidungsproblem",
"github",
"gradlew",
"javadoc",
"Javadoc",
"temurin",
Expand Down

0 comments on commit f4cb8a8

Please sign in to comment.