Skip to content

releases

releases #482

Workflow file for this run

---
name: releases
on:
workflow_dispatch:
schedule:
- cron: 0 0 * * *
jobs:
list-manifest-versions:
if: github.repository == 'opensearch-project/opensearch-build'
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v3
- id: set-matrix
# produces a list of versions, e.g. ["1.0.0","1.0.0","1.0.1","1.1.0","1.2.0","2.0.0"]
run: echo "::set-output name=matrix::$(ls manifests/**/opensearch*.yml | cut -d'/' -f2 | sort | uniq | jq -R -s -c 'split("\n")[:-1]')"
check:
needs: list-manifest-versions
runs-on: ubuntu-latest
strategy:
matrix:
release_version: ${{ fromJson(needs.list-manifest-versions.outputs.matrix) }}
steps:
- uses: actions/checkout@v3
- uses: dblock/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ matrix.release_version }}
with:
search_existing: all
update_existing: false
filename: .github/ISSUE_TEMPLATE/release_template.md