File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ jobs:
1212 name : Set version
1313 env :
1414 REF : ${{ github.ref }}
15- run : VERSION=`sed -E 's/[^0-9]+?([0-9]+\.[0-9]+\.[0-9]+.+?)/\1/' <<< $REF` && echo "::set-env name= VERSION:: $VERSION"
15+ run : VERSION=`sed -E 's/[^0-9]+?([0-9]+\.[0-9]+\.[0-9]+.+?)/\1/' <<< $REF` && echo "VERSION= $VERSION" >> $GITHUB_ENV
1616
1717 -
1818 name : Set major version
19- run : MAJOR_VERSION=`sed -E 's/[^0-9]+?([0-9]+)\.([0-9]+)\.([0-9]+).+?/\1/' <<< $VERSION` && echo "::set-env name= MAJOR_VERSION:: $MAJOR_VERSION"
19+ run : MAJOR_VERSION=`sed -E 's/[^0-9]+?([0-9]+)\.([0-9]+)\.([0-9]+).+?/\1/' <<< $VERSION` && echo "MAJOR_VERSION= $MAJOR_VERSION" >> $GITHUB_ENV
2020
2121 -
2222 name : Trigger Circle CI API
Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ jobs:
1212 name : Set version
1313 env :
1414 REF : ${{ github.ref }}
15- run : VERSION=`sed -E 's/[^0-9]+?([0-9]+\.[0-9]+\.[0-9]+.+?)/\1/' <<< $REF` && echo "::set-env name= VERSION:: $VERSION"
15+ run : VERSION=`sed -E 's/[^0-9]+?([0-9]+\.[0-9]+\.[0-9]+.+?)/\1/' <<< $REF` && echo "VERSION= $VERSION" >> $GITHUB_ENV
1616
1717 -
1818 name : Set major version
19- run : MAJOR_VERSION=`sed -E 's/[^0-9]+?([0-9]+)\.([0-9]+)\.([0-9]+).+?/\1/' <<< $VERSION` && echo "::set-env name= MAJOR_VERSION:: $MAJOR_VERSION"
19+ run : MAJOR_VERSION=`sed -E 's/[^0-9]+?([0-9]+)\.([0-9]+)\.([0-9]+).+?/\1/' <<< $VERSION` && echo "MAJOR_VERSION= $MAJOR_VERSION" >> $GITHUB_ENV
2020
2121 -
2222 name : Trigger Circle CI API
You can’t perform that action at this time.
0 commit comments