semantic-branch-version/.github/workflows/main.yml
2020-07-05 08:11:53 +02:00

17 lines
377 B
YAML

name: Get branch version
on: [push]
jobs:
build:
runs-on: ubuntu-latest
name: Gets the version of the branch
steps:
- uses: actions/checkout@v2
- name: Get version
id: getversion
uses: diligencia/semantic-git-version-action@master
- name: Echo name
run: echo "The name of the branch is ${{ steps.build.outputs.branchname }}"