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:
56
56
- name : Setup Vars
57
57
id : vars
58
58
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"
61
61
62
62
- name : Version Check
63
- if : " ${ MOD_VERSION}" != ${{github.ref_name}}
63
+ if : ${{steps.vars.outputs. MOD_VERSION}} != ${{github.ref_name}}
64
64
uses : actions/github-script@v3
65
65
with :
66
66
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}}")
68
68
69
69
- name : Setup Pages
70
70
uses : actions/configure-pages@v2
You can’t perform that action at this time.
0 commit comments