You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dda-devops-build/.github/workflows/stable.yml

19 lines
328 B
YAML

4 years ago
name: stable
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
jobs:
build:
name: test-my build
runs-on: ubuntu-latest
steps:
- name: debug
run: |
echo ${{ github.ref }}
echo ${{ github.ref == '[0-9]+.[0-9]+.[0-9]+' }}
echo ${{ github.ref != '[0-9]+.[0-9]+.[0-9]+' }}