Skip to content

Commit

Permalink
ci: access GH_TOKEN secret in ci test step
Browse files Browse the repository at this point in the history
  • Loading branch information
tassiluca committed Feb 19, 2024
1 parent e32ce89 commit 7569bbf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-test-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,14 @@ jobs:
with:
distribution: 'adopt'
java-version: ${{ matrix.jvm_version }}
- name: Build
run: ./gradlew classes testClasses
- name: Test
run: ./gradlew test
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Check
run: ./gradlew check
- name: Build
run: ./gradlew classes testClasses

success:
needs: build
Expand Down

0 comments on commit 7569bbf

Please sign in to comment.