diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0bc3fccf..7567be14 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -109,6 +109,9 @@ jobs: with: name: build-artifacts + - name: Generate plsql-custom-rules archive + run: git archive --format=zip -o build/plsql-custom-rules.zip HEAD:plsql-custom-rules + - if: github.ref == 'refs/heads/main' name: Run SonarQube Scanner run: ./gradlew sonar --info diff --git a/build.gradle.kts b/build.gradle.kts index f4e59131..d225a143 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -208,6 +208,11 @@ jreleaser { } } } + create("plsql-custom-rules") { + artifact { + path.set(file("build/{{distributionName}}.zip")) + } + } } }