This repository has been archived by the owner on Jun 6, 2024. It is now read-only.
Require all steps to run in java 1.8 #252
This file contains 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: Test | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 8 | |
- name: Test | |
run: ./gradlew test --stacktrace | |
env: | |
OPENAI_TOKEN: ${{ secrets.OPENAI_TOKEN }} |