Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e701a20249 | ||
|
|
643b30de7b | ||
|
|
eb233b1b34 | ||
|
|
dd89dbaaec |
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -15,11 +15,11 @@ jobs:
|
||||
git fetch --tags
|
||||
git branch --create-reflog master origin/master
|
||||
- name: Install GitVersion
|
||||
uses: ./setup
|
||||
uses: ./setup-gitversion
|
||||
with:
|
||||
versionSpec: '5.1.x'
|
||||
- name: Use GitVersion
|
||||
id: gitversion # step id used as reference for output values
|
||||
uses: ./execute
|
||||
uses: ./execute-gitversion
|
||||
- run: |
|
||||
echo "FullSemVer: ${{ steps.gitversion.outputs.fullSemVer }}"
|
||||
|
||||
15
README.md
15
README.md
@@ -1,13 +1,14 @@
|
||||
# use-gitversion
|
||||
# GitTools actions
|
||||
|
||||

|
||||

|
||||
|
||||
GitHub Action that installs and uses the GitVersion tool
|
||||
GitHub Actions that allow to install and use the GitVersion and GitReleaseManager tools
|
||||
|
||||
[](https://github.com/GitTools/actions/actions)
|
||||
|
||||
[](https://github.com/GitTools/use-gitversion/actions)
|
||||
## Usage
|
||||
|
||||
See [setup](setup/action.yml) and [usage](execute/action.yml)
|
||||
See [setup](setup-gitversion/action.yml) and [usage](execute-gitversion/action.yml)
|
||||
|
||||
## Dependency
|
||||
|
||||
@@ -33,12 +34,12 @@ Basic:
|
||||
git fetch --tags
|
||||
git branch --create-reflog master origin/master
|
||||
- name: Install GitVersion
|
||||
uses: gittools/use-gitversion/setup@v0.2
|
||||
uses: gittools/actions/setup-gitversion@v0.3
|
||||
with:
|
||||
versionSpec: '5.1.x'
|
||||
- name: Use GitVersion
|
||||
id: gitversion # step id used as reference for output values
|
||||
uses: gittools/use-gitversion/execute@v0.2
|
||||
uses: gittools/actions/execute-gitversion@v0.3
|
||||
- run: |
|
||||
echo "FullSemVer: ${{ steps.gitversion.outputs.fullSemVer }}"
|
||||
```
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: use-gitversion
|
||||
name: use-actions
|
||||
description: GitHub Action for Easy Semantic Versioning with GitVersion. Installs the specific version of GitVersion.Tool
|
||||
author: GitTools
|
||||
branding:
|
||||
@@ -15,4 +15,4 @@ inputs:
|
||||
default: false
|
||||
runs:
|
||||
using: node12
|
||||
main: dist/github/setup/index.js
|
||||
main: dist/github/setup/index.js
|
||||
|
||||
BIN
docs/icon.png
Normal file
BIN
docs/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.6 KiB |
Reference in New Issue
Block a user