mirror of
https://github.com/reecetech/version-increment.git
synced 2025-12-24 16:05:44 +00:00
e.g.
```
🛑 The major version number is greater than 2020, but the scheme is not set to 'calver'
```
21 lines
314 B
YAML
21 lines
314 B
YAML
---
|
|
name: Test and Release
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- '**'
|
|
tags-ignore:
|
|
- '**'
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Get next version
|
|
uses: reecetech/version-increment@use_api
|
|
id: version
|
|
with:
|
|
scheme: calver
|
|
use_api: true
|