Add test workflow

This commit is contained in:
Ingo Oppermann 2024-02-22 12:08:06 +01:00
parent d931bc6e05
commit 78a6e68421
No known key found for this signature in database
GPG Key ID: 2AB32426E9DD229E

21
.github/workflows/version.yaml vendored Normal file
View File

@ -0,0 +1,21 @@
name: 'get current ui version'
on:
workflow_dispatch:
jobs:
version:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
with:
ref: main
- name: get latest version from package.json
id: latestversion
run: |
echo "version=$(cat ./package.json | jq '.version' | sed 's/\"//g')" >> "$GITHUB_OUTPUT"
- name: confirm version
run: |
echo ${{ steps.latestversion.outputs.version }}