Feature/add extra version check for pull requests #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Omada Versions on Pull Request | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
check-omada-versions: | |
runs-on: ubuntu-24.04 | |
strategy: | |
matrix: | |
target: ["Beta", "Stable", "Dev"] | |
steps: | |
- name: Checkout the code | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Extract Version and Set Tag | |
id: extract_version | |
run: | | |
VERSION=$(yq '.version' "Omada ${{ matrix.target }}/config.yaml") | |
echo "VERSION=$VERSION" >> $GITHUB_ENV | |
echo "Target ${{ matrix.target }} VERSION: $VERSION" | |
- name: Check Omada Version Availability | |
uses: ./.github/actions/version-checks | |
with: | |
version: "${{ env.VERSION }}" |