Skip to content

Commit

Permalink
build: Publish a zip file with the plsql-custom-rules example
Browse files Browse the repository at this point in the history
  • Loading branch information
felipebz committed Sep 23, 2024
1 parent 3305120 commit 1d46dc8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,11 @@ jreleaser {
}
}
}
create("plsql-custom-rules") {
artifact {
path.set(file("build/{{distributionName}}.zip"))
}
}
}
}

Expand Down

0 comments on commit 1d46dc8

Please sign in to comment.