forked from opensearch-project/opensearch-build
-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (48 loc) · 1.59 KB
/
versions.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
name: versions
on:
workflow_dispatch:
schedule:
- cron: 0 0 * * *
jobs:
update:
runs-on: ubuntu-latest
env:
PYTHON_VERSION: 3.7
JDK_VERSION: 14
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- name: Set Up JDK ${{ env.JDK_VERSION }}
uses: actions/setup-java@v1
with:
java-version: ${{ env.JDK_VERSION }}
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v2
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install Pipenv and Dependencies
run: |
python -m pip install --upgrade pipenv wheel
- uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-build-cache-maven-local
- name: Update OpenSearch Manifests
run: |
./manifests.sh update
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
author: opensearch-ci-bot <[email protected]>
commit-message: |
Updated manifests.
Signed-off-by: opensearch-ci-bot <[email protected]>
delete-branch: true
title: '[AUTO] Updated input manifests.'
body: |
I've noticed that a repo has incremented a version and have made some updates to input manifests.
- name: Check outputs
run: |-
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"