File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -56,15 +56,15 @@ jobs:
5656 - name : Setup Vars
5757 id : vars
5858 run : |
59- echo "LAST_TAG=$(git describe --abbrev=0 HEAD^ --tags)" >> $GITHUB_ENV
60- echo "MOD_VERSION=$(gradle -q printVersion)" >> $GITHUB_ENV
59+ echo "LAST_TAG=$(git describe --abbrev=0 HEAD^ --tags)" >> "$GITHUB_OUTPUT"
60+ echo "MOD_VERSION=$(gradle -q printVersion)" >> "$GITHUB_OUTPUT"
6161
6262 - name : Version Check
63- if : " ${ MOD_VERSION}" != ${{github.ref_name}}
63+ if : ${{steps.vars.outputs. MOD_VERSION}} != ${{github.ref_name}}
6464 uses : actions/github-script@v3
6565 with :
6666 script : |
67- core.setFailed("Mod configured with incorrect version\nMod Version: ${MOD_VERSION}\nGithub Version: ${{github.ref_name}}")
67+ core.setFailed("Mod configured with incorrect version\nMod Version: ${{steps.vars.outputs. MOD_VERSION} }\nGithub Version: ${{github.ref_name}}")
6868
6969 - name : Setup Pages
7070 uses : actions/configure-pages@v2
You can’t perform that action at this time.
0 commit comments