semantic-branch-version/.github/workflows/main.yml
2020-07-04 17:25:00 +02:00

15 lines
357 B
YAML

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