updated README
This commit is contained in:
@@ -9,7 +9,9 @@ GitHub Actions that allow to install and use the GitVersion and GitReleaseManage
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
See [setup](gitversion/setup) and [usage](gitversion/execute/action.yml)
|
See [setup](gitversion/setup/action.yml) and [usage](gitversion/execute/action.yml) for GitVersion
|
||||||
|
|
||||||
|
and [setup](gitreleasemanager/setup/action.yml) for GitReleaseManager
|
||||||
|
|
||||||
## Dependency
|
## Dependency
|
||||||
|
|
||||||
@@ -32,12 +34,12 @@ Basic:
|
|||||||
- name: Fetch all history for all tags and branches
|
- name: Fetch all history for all tags and branches
|
||||||
run: git fetch --prune --unshallow
|
run: git fetch --prune --unshallow
|
||||||
- name: Install GitVersion
|
- name: Install GitVersion
|
||||||
uses: gittools/actions/gitversion/setup@v0.6
|
uses: gittools/actions/gitversion/setup@v0.6.1
|
||||||
with:
|
with:
|
||||||
versionSpec: '5.1.x'
|
versionSpec: '5.1.x'
|
||||||
- name: Use GitVersion
|
- name: Use GitVersion
|
||||||
id: gitversion # step id used as reference for output values
|
id: gitversion # step id used as reference for output values
|
||||||
uses: gittools/actions/gitversion/execute@v0.6
|
uses: gittools/actions/gitversion/execute@v0.6.1
|
||||||
- run: |
|
- run: |
|
||||||
echo "Major: ${{ steps.gitversion.outputs.major }}"
|
echo "Major: ${{ steps.gitversion.outputs.major }}"
|
||||||
echo "Minor: ${{ steps.gitversion.outputs.minor }}"
|
echo "Minor: ${{ steps.gitversion.outputs.minor }}"
|
||||||
@@ -78,7 +80,6 @@ Private repos require credentials before you can fetch the master branch and tag
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Fetch all history for all tags and branches
|
- name: Fetch all history for all tags and branches
|
||||||
|
|||||||
Reference in New Issue
Block a user