Setting up github action for bundle transport #6
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: Compile Bundle Transport | |
on: | |
pull_request: | |
branches: main | |
jobs: | |
build-bundle-client: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Setup JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Run gradle build on BundleClient | |
working-directory: ./BundleClient | |
run: ./gradlew build | |
# build-bundle-transport: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Checkout repository | |
# uses: actions/checkout@v4 | |
# - name: Setup gradle | |
# uses: gradle/gradle-build-action@v2 | |
# - name: Setup JDK 17 | |
# uses: actions/setup-java@v3 | |
# with: | |
# java-version: '17' | |
# distribution: 'temurin' | |
# - name: Run gradle build on BundleTransport | |
# working-directory: ./BundleTransport | |
# run: ./gradlew build | |
build-bundle-server: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Run maven package on BundleServer | |
working-directory: ./bundleserver | |
run: ./mvn package |