Skip to content

Commit

Permalink
fix changelog generation (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
ToppleTheNun authored Sep 3, 2023
1 parent 49a6675 commit 7b10ba8
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 2 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
fetch-depth: '0' # https://github.com/shipkit/shipkit-auto-version#fetch-depth-on-ci
- name: Gradle wrapper validation
uses: gradle/[email protected]

build:
runs-on: ubuntu-latest
needs: [ gradle_wrapper_validation ]
Expand Down Expand Up @@ -78,3 +79,31 @@ jobs:
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }}
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

build_k2:
runs-on: ubuntu-latest
needs: [ gradle_wrapper_validation ]
if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')"
permissions:
contents: write
issues: write
pull-requests: write
steps:
- name: Checkout code
uses: actions/checkout@v3 # https://github.com/actions/checkout
with:
fetch-depth: '0' # https://github.com/shipkit/shipkit-changelog#fetch-depth-on-ci

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

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

- name: Perform Build via Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: build --scan -Pkotlin.experimental.tryK2=true
1 change: 0 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ tasks {
"compileKotlin",
"javadoc",
"dokkaJavadoc",
"inspectClassesForKotlinIC",
"javadocJar",
"sourcesJar",
"generateMetadataFileForPluginMavenPublication",
Expand Down
1 change: 0 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
kotlin.code.style=official
org.gradle.console=plain
kotlin.experimental.tryK2=true

0 comments on commit 7b10ba8

Please sign in to comment.