test GLRD GH action #5
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: test GLRD GH action | |
on: | |
workflow_dispatch: | |
jobs: | |
query: | |
name: query | |
runs-on: 'ubuntu-latest' | |
permissions: | |
packages: read | |
steps: | |
- name: Get latest GL patch version | |
id: gl_version_latest | |
uses: gardenlinux/glrd@main | |
with: | |
cmd: glrd --no-header --type patch --latest --fields Version | |
- name: Use latest GL patch version | |
run: echo ${{ steps.gl_version_latest.outputs.result }} | |
- name: Get latest GL nightly version | |
id: gl_version_nightly | |
uses: gardenlinux/glrd@main | |
with: | |
cmd: glrd --no-header --type nightly --latest --fields Version | |
- name: Use latest GL nightly version | |
run: echo ${{ steps.gl_version_nightly.outputs.result }} |