forked from home-operations/containers
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (34 loc) · 1.06 KB
/
test-version.yaml
File metadata and controls
39 lines (34 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Test Version
on:
workflow_dispatch:
inputs:
version:
type: string
description: Version
required: true
permissions:
contents: read
jobs:
test-version:
name: Test Version (${{ inputs.version }})
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Get App Versions
uses: ./.github/actions/app-versions
id: app-versions
with:
upstream-version: ${{ inputs.version }}
- name: Check Version Results
env:
INPUT_VERSION: ${{ inputs.version }}
run: |-
echo "Input Version: ${INPUT_VERSION}"
echo "Is Valid Semver: ${{ steps.app-versions.outputs.is-valid-semver }}"
echo "Semantic Version: ${{ steps.app-versions.outputs.semantic }}"
echo "Raw Version: ${{ steps.app-versions.outputs.raw }}"