Update github/codeql-action action to v3.28.17 (#73) #67
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Main Build" | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
# the nebula plugin used in this repo needs the tags | |
fetch-depth: 0 | |
- id: setup-java-17 | |
name: Setup Java 17 | |
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1 | |
with: | |
distribution: temurin | |
java-version: 17 | |
- name: Set up gradle | |
uses: gradle/actions/setup-gradle@06832c7b30a0129d7fb559bcc6e43d26f6374244 # v4.3.1 | |
- name: Build | |
run: > | |
./gradlew build --stacktrace | |
"-Porg.gradle.java.installations.paths=${{ steps.setup-java-17.outputs.path }}" | |
- name: Publish snapshot | |
env: | |
SONATYPE_USER: ${{ secrets.SONATYPE_USER }} | |
SONATYPE_KEY: ${{ secrets.SONATYPE_KEY }} | |
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} | |
GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }} | |
run: > | |
./gradlew snapshot --stacktrace | |
"-Porg.gradle.java.installations.paths=${{ steps.setup-java-17.outputs.path }}" |