Skip to content

Commit da9eb04

Browse files
committed
Fixy fixy fix
1 parent f73529d commit da9eb04

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)