Skip to content
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

4 Commits
 
 
 
 

Repository files navigation

Produces version suffix based on the current branch - ${{ github.ref_name }}.

on:
  push:
    
jobs:
  print-suffix:
    runs-on: ubuntu-latest
    steps:
      - id: suffix
        uses: astorDev/suffix/@v1.0
      
      # branch:feature/one => Suffix is 'feature-one'
      # branch:"main" => Suffix is ''
      - run: echo "Suffix is '${{ steps.suffix.outputs.suffix }}'"

This action is a showcase from a Versy project.

About

GitHub Action producing version suffix

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors