Skip to content

Commit

Permalink
fix secrets error
Browse files Browse the repository at this point in the history
  • Loading branch information
ndiritumichael committed Oct 2, 2024
1 parent 11d3798 commit 29e211c
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
- name: Make gradlew executable
run: chmod +x ./gradlew

- name: Get local.properties from secrets
run: echo "${{secrets.ProjectSecrets }}" > $GITHUB_WORKSPACE/local.properties

- name: Make CodeLinting executable
run: chmod +x ./codeLinting.sh
- name: Run lint checks
Expand All @@ -43,6 +46,9 @@ jobs:
distribution: 'zulu'
java-version: '17'

- name: Get local.properties from secrets
run: echo "${{secrets.ProjectSecrets }}" > $GITHUB_WORKSPACE/local.properties

- name: Make gradlew executable
run: chmod +x ./gradlew

Expand All @@ -52,8 +58,7 @@ jobs:
run: ./gradlew testDebugUnitTest


- name: Get local.properties from secrets
run: echo "${{secrets.ProjectSecrets }}" > $GITHUB_WORKSPACE/local.properties


- name: Upload a Build Artifact
uses: actions/upload-artifact@v4.3.3
Expand Down

0 comments on commit 29e211c

Please sign in to comment.