Bump action versions in GitHub Action examples

This commit is contained in:
Chris Davis
2020-11-23 17:04:53 +00:00
committed by Artur
parent 12703e7f24
commit 72d71e3825
2 changed files with 18 additions and 18 deletions

View File

@@ -14,7 +14,7 @@ steps:
This step is omitted from the examples for brevity.
> The examples use version _0.9.6_ of the GitVersion Execute action. It is recommended to use the latest released version in your own workflows.
> The examples use version _0.9.7_ of the GitVersion Execute action. It is recommended to use the latest released version in your own workflows.
## Inputs
@@ -100,10 +100,10 @@ Calculate the version for the build.
```yaml
steps:
# gitversion/setup@v0.9.6 action omitted for brevity.
# gitversion/setup@v0.9.7 action omitted for brevity.
- name: Determine Version
uses: gittools/actions/gitversion/execute@v0.9.6
uses: gittools/actions/gitversion/execute@v0.9.7
```
### Example 2
@@ -113,7 +113,7 @@ Calculate the version for the build using a config file with the default name **
```yaml
steps:
- name: Determine Version
uses: gittools/actions/gitversion/execute@v0.9.6
uses: gittools/actions/gitversion/execute@v0.9.7
with:
useConfigFile: true
```
@@ -135,10 +135,10 @@ Calculate the version for the build using a config file named **VersionConfig.ym
```yaml
steps:
# gitversion/setup@v0.9.6 action omitted for brevity.
# gitversion/setup@v0.9.7 action omitted for brevity.
- name: Determine Version
uses: gittools/actions/gitversion/execute@v0.9.6
uses: gittools/actions/gitversion/execute@v0.9.7
with:
useConfigFile: true
configFilePath: VersionConfig.yml
@@ -150,10 +150,10 @@ Show the effective configuration for GitVersion by running the **/showConfig** c
```yaml
steps:
# gitversion/setup@v0.9.6 action omitted for brevity.
# gitversion/setup@v0.9.7 action omitted for brevity.
- name: Display GitVersion config
uses: gittools/actions/gitversion/execute@v0.9.6
uses: gittools/actions/gitversion/execute@v0.9.7
with:
useConfigFile: true
additionalArguments: '/showConfig'
@@ -165,11 +165,11 @@ Calculate the version for the build and display all the calculated variables in
```yaml
steps:
# gitversion/setup@v0.9.6 action omitted for brevity.
# gitversion/setup@v0.9.7 action omitted for brevity.
- name: Determine Version
id: gitversion
uses: gittools/actions/gitversion/execute@v0.9.6
uses: gittools/actions/gitversion/execute@v0.9.7
- name: Display GitVersion outputs
run: |
@@ -213,10 +213,10 @@ Calculate the version for the build and display the value of the `GITVERSION_SEM
```yaml
steps:
# gitversion/setup@v0.9.6 action omitted for brevity.
# gitversion/setup@v0.9.7 action omitted for brevity.
- name: Determine Version
uses: gittools/actions/gitversion/execute@v0.9.6
uses: gittools/actions/gitversion/execute@v0.9.7
- name: Display SemVer
run: |
@@ -239,7 +239,7 @@ jobs:
- name: Determine Version
id: gitversion
uses: gittools/actions/gitversion/execute@v0.9.6
uses: gittools/actions/gitversion/execute@v0.9.7
create-release-notes:
name: Create Release Notes
@@ -268,7 +268,7 @@ jobs:
- name: Determine Version
id: gitversion
uses: gittools/actions/gitversion/execute@v0.9.6
uses: gittools/actions/gitversion/execute@v0.9.7
display-semver:
name: Display Semantic Version