Skip to content

remove template references #4

remove template references

remove template references #4

Workflow file for this run

name: Build and Test Plugin
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
jobs:
build:
strategy:
matrix:
os:
- ubuntu-latest
- macOS-latest
- windows-latest
java:
- 17
name: Build and Test Plugin
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: temurin
- name: Build and Run Tests
run: |
./gradlew build
# Generated by 'opensearch.pluginzip' custom gradle plugin
./gradlew publishPluginZipPublicationToZipStagingRepository
- name: Update version to the next development iteration
if: matrix.os != 'windows-latest'
run: |
# Task to auto update version to the next development iteration
./gradlew updateVersion -DnewVersion=2.1.0-SNAPSHOT