File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -26,14 +26,17 @@ jobs:
26
26
node-version : ${{ matrix.node_version }}
27
27
- name : NPM install with caching
28
28
uses : bahmutov/npm-install@v1
29
+ - name : Set Min Version
30
+ uses : thefringeninja/action-minver
31
+ id : version
32
+ with :
33
+ tag-prefix : v
29
34
- name : Build Version
30
35
run : |
31
36
npm install --global replace-in-files-cli
32
- dotnet tool install --global minver-cli --version 2.5.0
33
- echo $(minver --tag-prefix v) >> $version
34
- echo "MINVERVERSIONOVERRIDE=$version" >> $GITHUB_ENV
35
- npm run version -- $version
36
- replace-in-files --regex='\/(v?((\d+)\.(\d+)(\.(\d+))?)(?:-([\dA-Za-z-]+(?:\.[\dA-Za-z-]+)*))?(?:\+([\dA-Za-z-]+(?:\.[\dA-Za-z-]+)*))?)' --replacement=/$version packages/core/src/configuration/Configuration.ts
37
+ echo "MINVERVERSIONOVERRIDE=${{steps.version.outputs.version}}" >> $GITHUB_ENV
38
+ npm run version -- ${{steps.version.outputs.version}}
39
+ replace-in-files --regex='\/(v?((\d+)\.(\d+)(\.(\d+))?)(?:-([\dA-Za-z-]+(?:\.[\dA-Za-z-]+)*))?(?:\+([\dA-Za-z-]+(?:\.[\dA-Za-z-]+)*))?)' --replacement=/${{steps.version.outputs.version}} packages/core/src/configuration/Configuration.ts
37
40
- name : Build
38
41
run : npm run build
39
42
- name : Lint
You can’t perform that action at this time.
0 commit comments