Skip to content

applicreation/versions-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

versions-action

Usage

on:
  release:
    types:
      - published
jobs:
  release:
    runs-on: ubuntu-latest
    steps:  
      - uses: applicreation/versions-action@v2
        id: versions
        with:
          tag: ${{ github.ref_name }}
      - run: echo ${{ steps.versions.outputs.has_prefix }}
      - run: echo ${{ steps.versions.outputs.major }}
      - run: echo ${{ steps.versions.outputs.minor }}
      - run: echo ${{ steps.versions.outputs.patch }}