Skip to content

add test env

add test env #1

Workflow file for this run

name: Test with Maven
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Run Maven test
environment: Test

Check failure on line 13 in .github/workflows/test-package.yml

View workflow run for this annotation

GitHub Actions / Test with Maven

Invalid workflow file

The workflow is not valid. .github/workflows/test-package.yml (Line: 13, Col: 9): Unexpected value 'environment'
run: mvn test
env:
GITHUB_TOKEN: ${{ secrets.PACKAGE_DEPLOY_TOKEN }}