Skip to content

Feature/29110 implement GitHub action to determine the latest stable version #2

Feature/29110 implement GitHub action to determine the latest stable version

Feature/29110 implement GitHub action to determine the latest stable version #2

name: Tests get_last_stable_version composite action
on:
pull_request:
workflow_dispatch:
inputs:
version:
description: |
Tested version
type: string
required: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v4
- name: Get last stable version
id: last-stable-version
uses: ./.github/actions/get_last_stable_version
with:
repo_owner: wazuh
repo_name: wazuh
testing_version: ${{inputs.version}}
- name: Show result
run: |
echo "${{ steps.last-stable-version.output.latest_stable_version }}"