Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code-tracker workflow #691

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/code-tracker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CodeTracker Tests

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]


jobs:
build:
runs-on: ubuntu-latest

env:
OAuthToken: ${{ secrets.OAUTHTOKEN }}
releaseVersion: CI-CodeTracker-SNAPSHOT

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'temurin'

- name: Build project with Gradle
run: ./gradlew publishToMavenLocal -x test -x javadoc -PbuildVersion=${{ env.releaseVersion }}

- name: Clone CodeTracker and Run the tests
run: |
git clone https://github.com/jodavimehran/code-tracker &&
cd code-tracker &&
mvn -B package --file pom.xml -Drm.version=${{ env.releaseVersion }}
Loading