File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,16 +15,16 @@ jobs:
1515 ENSMALLEN_RELEASE_JSON=$(curl -sL https://api.github.com/repos/mlpack/ensmallen/releases/latest)
1616 ENSMALLEN_RELEASE_VERSION=$(jq -r ".tag_name" <<< "$ENSMALLEN_RELEASE_JSON")
1717 ENSMALLEN_RELEASE_DATE=$(jq -r ".published_at" <<< "$ENSMALLEN_RELEASE_JSON" | sed 's/T.*//g')
18- echo ::set-output name= release_tag:: $(echo $ENSMALLEN_RELEASE_VERSION)
19- echo ::set-output name= release_date:: $(echo $ENSMALLEN_RELEASE_DATE)
18+ echo " release_tag= $(echo $ENSMALLEN_RELEASE_VERSION)" >> $GITHUB_OUTPUT
19+ echo " release_date= $(echo $ENSMALLEN_RELEASE_DATE)" >> $GITHUB_OUTPUT
2020 # Extract out version information from git repository
2121 ENSMALLEN_VERSION_MAJOR=$(grep -i ".*#define ENS_VERSION_MAJOR.*" inst/include/ensmallen_bits/ens_version.hpp | grep -o "[0-9]*")
2222 ENSMALLEN_VERSION_MINOR=$(grep -i ".*#define ENS_VERSION_MINOR.*" inst/include/ensmallen_bits/ens_version.hpp | grep -o "[0-9]*")
2323 ENSMALLEN_VERSION_PATCH=$(grep -i ".*#define ENS_VERSION_PATCH.*" inst/include/ensmallen_bits/ens_version.hpp | grep -o "[0-9]*")
2424 # Combine values to match release tag information
2525 ENSMALLEN_VERSION_VALUE=${ENSMALLEN_VERSION_MAJOR}.${ENSMALLEN_VERSION_MINOR}.${ENSMALLEN_VERSION_PATCH}
2626 # Set the current release tag
27- echo ::set-output name= current_tag:: $(echo $ENSMALLEN_VERSION_VALUE)
27+ echo " current_tag= $(echo $ENSMALLEN_VERSION_VALUE)" >> $GITHUB_OUTPUT
2828 - name : Update Ensmallen
2929 if : steps.ensmallen-lib.outputs.current_tag != steps.ensmallen-lib.outputs.release_tag
3030 env :
You can’t perform that action at this time.
0 commit comments