21 lines
282 B
YAML
21 lines
282 B
YAML
- env: &anchor
|
|
ANCHOR: this is my anchor
|
|
|
|
|
|
name: CI
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- env:
|
|
<<: *anchor
|
|
- name: push content
|
|
|
|
run: |
|
|
echo ${{ env.ANCHOR }}
|
|
|