-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (28 loc) · 822 Bytes
/
Copy pathnode.yml
File metadata and controls
32 lines (28 loc) · 822 Bytes
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
# name: Having fun
# on:
# push:
# pull_request:
# jobs:
# build:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - name: Print github.ref
# run: echo ${{ github.ref }}
# - name: Print github.ref_type
# run: echo ${{ github.ref_type }}
# - name: Print github.ref_name
# run: echo ${{ github.ref_name }}
# - run: env
# validate_tag:
# if: github.ref_type == 'tag'
# runs-on: ubuntu-latest
# steps:
# - name: Check that tag follow semantic versioning (must not start with "v")
# run: echo ${{ github.ref_name }} | egrep '^[0-9]+\.[0-9]+\.[0-9]+\S*$'
# release:
# needs: [build, validate_tag]
# runs-on: ubuntu-latest
# steps:
# - name: Print happy message
# run: echo The tag is ${{ github.ref_name }}