Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 527 Bytes

File metadata and controls

28 lines (20 loc) · 527 Bytes

Compute Version Action

This GitHub action computes the project version.

Outputs

Output Description

version

The version of the project.

snapshot

Whether the version is a snapshot version.

Example Usage

- name: Compute Version
  id: project-version
  uses: spring-io/spring-release-actions/compute-version@main

# Use the output from the `project-version` step
- name: Echo version
  run: echo "The project version is ${{ steps.project-version.outputs.version }}"