Bump action versions in GitHub Action examples
This commit is contained in:
@@ -14,7 +14,7 @@ steps:
|
|||||||
|
|
||||||
This step is omitted from the examples for brevity.
|
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
|
## Inputs
|
||||||
|
|
||||||
@@ -100,10 +100,10 @@ Calculate the version for the build.
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
steps:
|
steps:
|
||||||
# gitversion/setup@v0.9.6 action omitted for brevity.
|
# gitversion/setup@v0.9.7 action omitted for brevity.
|
||||||
|
|
||||||
- name: Determine Version
|
- name: Determine Version
|
||||||
uses: gittools/actions/gitversion/execute@v0.9.6
|
uses: gittools/actions/gitversion/execute@v0.9.7
|
||||||
```
|
```
|
||||||
|
|
||||||
### Example 2
|
### Example 2
|
||||||
@@ -113,7 +113,7 @@ Calculate the version for the build using a config file with the default name **
|
|||||||
```yaml
|
```yaml
|
||||||
steps:
|
steps:
|
||||||
- name: Determine Version
|
- name: Determine Version
|
||||||
uses: gittools/actions/gitversion/execute@v0.9.6
|
uses: gittools/actions/gitversion/execute@v0.9.7
|
||||||
with:
|
with:
|
||||||
useConfigFile: true
|
useConfigFile: true
|
||||||
```
|
```
|
||||||
@@ -135,10 +135,10 @@ Calculate the version for the build using a config file named **VersionConfig.ym
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
steps:
|
steps:
|
||||||
# gitversion/setup@v0.9.6 action omitted for brevity.
|
# gitversion/setup@v0.9.7 action omitted for brevity.
|
||||||
|
|
||||||
- name: Determine Version
|
- name: Determine Version
|
||||||
uses: gittools/actions/gitversion/execute@v0.9.6
|
uses: gittools/actions/gitversion/execute@v0.9.7
|
||||||
with:
|
with:
|
||||||
useConfigFile: true
|
useConfigFile: true
|
||||||
configFilePath: VersionConfig.yml
|
configFilePath: VersionConfig.yml
|
||||||
@@ -150,10 +150,10 @@ Show the effective configuration for GitVersion by running the **/showConfig** c
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
steps:
|
steps:
|
||||||
# gitversion/setup@v0.9.6 action omitted for brevity.
|
# gitversion/setup@v0.9.7 action omitted for brevity.
|
||||||
|
|
||||||
- name: Display GitVersion config
|
- name: Display GitVersion config
|
||||||
uses: gittools/actions/gitversion/execute@v0.9.6
|
uses: gittools/actions/gitversion/execute@v0.9.7
|
||||||
with:
|
with:
|
||||||
useConfigFile: true
|
useConfigFile: true
|
||||||
additionalArguments: '/showConfig'
|
additionalArguments: '/showConfig'
|
||||||
@@ -165,11 +165,11 @@ Calculate the version for the build and display all the calculated variables in
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
steps:
|
steps:
|
||||||
# gitversion/setup@v0.9.6 action omitted for brevity.
|
# gitversion/setup@v0.9.7 action omitted for brevity.
|
||||||
|
|
||||||
- name: Determine Version
|
- name: Determine Version
|
||||||
id: gitversion
|
id: gitversion
|
||||||
uses: gittools/actions/gitversion/execute@v0.9.6
|
uses: gittools/actions/gitversion/execute@v0.9.7
|
||||||
|
|
||||||
- name: Display GitVersion outputs
|
- name: Display GitVersion outputs
|
||||||
run: |
|
run: |
|
||||||
@@ -213,10 +213,10 @@ Calculate the version for the build and display the value of the `GITVERSION_SEM
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
steps:
|
steps:
|
||||||
# gitversion/setup@v0.9.6 action omitted for brevity.
|
# gitversion/setup@v0.9.7 action omitted for brevity.
|
||||||
|
|
||||||
- name: Determine Version
|
- name: Determine Version
|
||||||
uses: gittools/actions/gitversion/execute@v0.9.6
|
uses: gittools/actions/gitversion/execute@v0.9.7
|
||||||
|
|
||||||
- name: Display SemVer
|
- name: Display SemVer
|
||||||
run: |
|
run: |
|
||||||
@@ -239,7 +239,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Determine Version
|
- name: Determine Version
|
||||||
id: gitversion
|
id: gitversion
|
||||||
uses: gittools/actions/gitversion/execute@v0.9.6
|
uses: gittools/actions/gitversion/execute@v0.9.7
|
||||||
|
|
||||||
create-release-notes:
|
create-release-notes:
|
||||||
name: Create Release Notes
|
name: Create Release Notes
|
||||||
@@ -268,7 +268,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Determine Version
|
- name: Determine Version
|
||||||
id: gitversion
|
id: gitversion
|
||||||
uses: gittools/actions/gitversion/execute@v0.9.6
|
uses: gittools/actions/gitversion/execute@v0.9.7
|
||||||
|
|
||||||
display-semver:
|
display-semver:
|
||||||
name: Display Semantic Version
|
name: Display Semantic Version
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Find out how to use the **gitversion/setup** action using the examples below.
|
Find out how to use the **gitversion/setup** action using the examples below.
|
||||||
|
|
||||||
> 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
|
## Inputs
|
||||||
|
|
||||||
@@ -30,7 +30,7 @@ Install the latest GitVersion 5 version.
|
|||||||
```yaml
|
```yaml
|
||||||
steps:
|
steps:
|
||||||
- name: Install GitVersion
|
- name: Install GitVersion
|
||||||
uses: gittools/actions/gitversion/setup@v0.9.6
|
uses: gittools/actions/gitversion/setup@v0.9.7
|
||||||
with:
|
with:
|
||||||
versionSpec: '5.x'
|
versionSpec: '5.x'
|
||||||
```
|
```
|
||||||
@@ -42,7 +42,7 @@ Install GitVersion 5.5.0.
|
|||||||
```yaml
|
```yaml
|
||||||
steps:
|
steps:
|
||||||
- name: Install GitVersion
|
- name: Install GitVersion
|
||||||
uses: gittools/actions/gitversion/setup@v0.9.6
|
uses: gittools/actions/gitversion/setup@v0.9.7
|
||||||
with:
|
with:
|
||||||
versionSpec: '5.5.0'
|
versionSpec: '5.5.0'
|
||||||
```
|
```
|
||||||
@@ -54,7 +54,7 @@ Install the latest GitVersion 6 pre-release version. For example **6.0.0-beta1.
|
|||||||
```yaml
|
```yaml
|
||||||
steps:
|
steps:
|
||||||
- name: Install GitVersion
|
- name: Install GitVersion
|
||||||
uses: gittools/actions/gitversion/setup@v0.9.6
|
uses: gittools/actions/gitversion/setup@v0.9.7
|
||||||
with:
|
with:
|
||||||
versionSpec: '6.x'
|
versionSpec: '6.x'
|
||||||
includePrerelease: true
|
includePrerelease: true
|
||||||
|
|||||||
Reference in New Issue
Block a user