Skip to content

Commit

Permalink
Change GH Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotjarnit committed Jan 22, 2024
1 parent 86296cf commit 1a0c026
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
java-version: '11'
distribution: 'temurin'
- name: Build with Gradle
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_USERNAME: ${{ secrets.GH_USERNAME }}
uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
with:
arguments: build
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ plugins {
if (file('secrets.gradle').exists()) {
apply from: 'secrets.gradle'
} else {
GH_USERNAME = "$System.env.GH_USERNAME"
GH_TOKEN = "$System.env.GH_TOKEN"
project.ext.GH_USERNAME = "$System.env.GH_USERNAME"
project.ext.GH_TOKEN = "$System.env.GH_TOKEN"
}


Expand Down

0 comments on commit 1a0c026

Please sign in to comment.