move the github actions to separate folders within tool folder
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -19,11 +19,11 @@ jobs:
|
|||||||
npm run build:azure
|
npm run build:azure
|
||||||
name: Build code
|
name: Build code
|
||||||
- name: Install GitVersion
|
- name: Install GitVersion
|
||||||
uses: ./setup-gitversion
|
uses: ./gitversion/setup
|
||||||
with:
|
with:
|
||||||
versionSpec: '5.1.2'
|
versionSpec: '5.1.2'
|
||||||
- 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: ./execute-gitversion
|
uses: ./gitversion/execute
|
||||||
- run: |
|
- run: |
|
||||||
echo "FullSemVer: ${{ steps.gitversion.outputs.fullSemVer }}"
|
echo "FullSemVer: ${{ steps.gitversion.outputs.fullSemVer }}"
|
||||||
|
|||||||
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -21,12 +21,12 @@ jobs:
|
|||||||
npm run build:azure
|
npm run build:azure
|
||||||
name: Build code
|
name: Build code
|
||||||
- name: Install GitVersion
|
- name: Install GitVersion
|
||||||
uses: ./setup-gitversion
|
uses: ./gitversion/setup
|
||||||
with:
|
with:
|
||||||
versionSpec: '5.1.2'
|
versionSpec: '5.1.2'
|
||||||
- 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: ./execute-gitversion
|
uses: ./gitversion/execute
|
||||||
- run: |
|
- run: |
|
||||||
$date = Get-Date -format "yyMMddHHmm"
|
$date = Get-Date -format "yyMMddHHmm"
|
||||||
$version = "${{steps.gitversion.outputs.majorMinorPatch}}.$date"
|
$version = "${{steps.gitversion.outputs.majorMinorPatch}}.$date"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ branding:
|
|||||||
icon: git-pull-request
|
icon: git-pull-request
|
||||||
runs:
|
runs:
|
||||||
using: node12
|
using: node12
|
||||||
main: ../dist/github/setup-gitreleasemanager/bundle.js
|
main: ../../dist/github/setup-gitreleasemanager/bundle.js
|
||||||
inputs:
|
inputs:
|
||||||
versionSpec:
|
versionSpec:
|
||||||
description: Required version in the form of 0.10.x or exact version like 0.10.2
|
description: Required version in the form of 0.10.x or exact version like 0.10.2
|
||||||
@@ -6,7 +6,7 @@ branding:
|
|||||||
icon: git-pull-request
|
icon: git-pull-request
|
||||||
runs:
|
runs:
|
||||||
using: node12
|
using: node12
|
||||||
main: ../dist/github/execute-gitversion/bundle.js
|
main: ../../dist/github/execute-gitversion/bundle.js
|
||||||
inputs:
|
inputs:
|
||||||
targetPath:
|
targetPath:
|
||||||
description: Optionally supply the path to the working directory
|
description: Optionally supply the path to the working directory
|
||||||
@@ -6,7 +6,7 @@ branding:
|
|||||||
icon: git-pull-request
|
icon: git-pull-request
|
||||||
runs:
|
runs:
|
||||||
using: node12
|
using: node12
|
||||||
main: ../dist/github/setup-gitversion/bundle.js
|
main: ../../dist/github/setup-gitversion/bundle.js
|
||||||
inputs:
|
inputs:
|
||||||
versionSpec:
|
versionSpec:
|
||||||
description: Required version in the form of 5.x or exact version like 5.0.0
|
description: Required version in the form of 5.x or exact version like 5.0.0
|
||||||
Reference in New Issue
Block a user