fix: releasing info #116
Workflow file for this run
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: CI | |
# We run CI on PRs targetting main, and pushes to the main branch. We also run | |
# on release created events, using the tag name as the version. | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
release: | |
types: | |
- created | |
jobs: | |
ci: | |
name: Package and Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v3 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 8 | |
distribution: 'adopt' | |
- name: Build with Maven | |
run: mvn package --file posthog/pom.xml -DskipTests --batch-mode --show-version | |
- name: Run tests | |
run: mvn test --file posthog/pom.xml --batch-mode --show-version |