Skip to content

migrate jenkins ci to GH actions #1

migrate jenkins ci to GH actions

migrate jenkins ci to GH actions #1

Workflow file for this run

name: Sift Java CI
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "master" ]
env:
GRADLE_OPTS: -Dorg.gradle.project.sonatypeUsername=username -Dorg.gradle.project.sonatypePassword=password
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'zulu'
# Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies.
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3 # v3.1.0
- name: Build with Gradle Wrapper
run: ./gradlew build
- name: Build Gradle dependencies
run: ./gradlew dependencies

Check failure on line 36 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 36
- name: Build Gradle dependencies
run: ./gradlew test
java_integration:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'zulu'
# Generates and submits a dependency graph, enabling Dependabot Alerts for all project dependencies.
# See: https://github.com/gradle/actions/blob/main/dependency-submission/README.md
- name: Build and packaged sift-java
uses: ./gradlew distZip