Skip to content

This action generates a UTC-based CalVer(https://calver.org/) in the format YYYY.0M0D.MICRO

License

Notifications You must be signed in to change notification settings

phoenixTW/cal-version

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

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CalVersion

[![release][release-badge]][release] [![license][license-badge]][license]

This action generates a UTC-based CalVer in the format YYYY.0M0D.MICRO

Usage

See action.yml.

Examples

Generate a New Version

---
name: My Workflow

on:
  push:
    branches:
      - master

jobs:
  release:
    name: Release
    runs-on: [ ubuntu ]
    steps:
      - name: Checkout source code
        uses: actions/checkout@v3

      - name: Generate Version
        id: version
        uses: phoenixTW/cal-version@master