Skip to content

Commit

Permalink
👷 Use Gradle Property In CI
Browse files Browse the repository at this point in the history
  • Loading branch information
gilday committed Jun 26, 2024
1 parent 7136fcc commit 0d25d02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
- name: Run Check task
uses: gradle/gradle-build-action@842c587ad8aa4c68eeba24c396e15af4c2e9f30a # v2.9.0
env:
CODEMODDER_OPENAI_API_KEY: ${{ secrets.CODEMODDER_OPENAI_API_KEY }}
ORG_GRADLE_PROJECT_codemodderOpenAIKey: ${{ secrets.CODEMODDER_OPENAI_API_KEY }}
with:
arguments: check --stacktrace
cache-read-only: ${{ github.ref != 'refs/heads/main' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

- uses: gradle/gradle-build-action@v2
env:
CODEMODDER_OPENAI_API_KEY: ${{ secrets.CODEMODDER_OPENAI_API_KEY }}
ORG_GRADLE_PROJECT_codemodderOpenAIKey: ${{ secrets.CODEMODDER_OPENAI_API_KEY }}
with:
cache-read-only: ${{ github.ref != 'refs/heads/main' }}
arguments: --console=plain --quiet --no-configuration-cache -Pversion=${{ inputs.version }} build distZip publishNebulaPublicationToSonatypeRepository closeAndReleaseSonatypeStagingRepository
Expand Down

0 comments on commit 0d25d02

Please sign in to comment.