mirror of
https://github.com/diligencia/semantic-branch-version.git
synced 2024-12-27 12:48:01 +08:00
Create main.yml
This commit is contained in:
parent
0475e27235
commit
1dec00f6a9
14
.github/workflows/main.yml
vendored
Normal file
14
.github/workflows/main.yml
vendored
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
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
|
||||||
|
- name: Echo name
|
||||||
|
run: echo "The name of the branch is ${{ steps.hello.outputs.branchname }}"
|
Loading…
Reference in New Issue
Block a user