Releases: cpunion/gh-semver-match
Releases · cpunion/gh-semver-match
v1
Usage
- uses: cpunion/gh-semver-match@v1
with:
token: ${{ github.token }} # Required for API access
repos: |
- repo: gotray/got
version: ^1.0.0 # Match highest 1.x.x version
var_name: GOT_VERSION
- repo: another/repo
version: ~2.1.0 # Match highest 2.1.x version
var_name: ANOTHER_VERSION
- name: Matched version
run: echo $GOT_VERSION