test distinguishe #1
This commit is contained in:
parent
b591c78927
commit
59f97a3c68
2 changed files with 22 additions and 4 deletions
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
|
@ -1,6 +1,6 @@
|
||||||
name: build
|
name: build
|
||||||
on:
|
on:
|
||||||
push
|
never
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -22,9 +22,9 @@ jobs:
|
||||||
|
|
||||||
- name: debug
|
- name: debug
|
||||||
run: |
|
run: |
|
||||||
echo ${{ github.event.ref }}
|
echo ${{ github.ref }}
|
||||||
echo ${{ github.event.ref == 'refs/tags/[0-9]+.[0-9]+.[0-9]' }}
|
echo ${{ github.ref == '[0-9]+.[0-9]+.[0-9]' }}
|
||||||
echo ${{ github.event.ref != 'refs/tags/[0-9]+.[0-9]+.[0-9]' }}
|
echo ${{ github.ref != '[0-9]+.[0-9]+.[0-9]' }}
|
||||||
|
|
||||||
- name: build stable release
|
- name: build stable release
|
||||||
if: ${{ github.tag == '[0-9]+.[0-9]+.[0-9]' }}
|
if: ${{ github.tag == '[0-9]+.[0-9]+.[0-9]' }}
|
||||||
|
|
18
.github/workflows/test.yml
vendored
Normal file
18
.github/workflows/test.yml
vendored
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
name: test
|
||||||
|
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]+' }}
|
Loading…
Reference in a new issue