Fix workflow file

This commit is contained in:
William278 2023-03-01 12:52:15 +00:00
parent 9996144ee2
commit ef99015d01

View File

@ -26,9 +26,9 @@ jobs:
run: |
echo "::set-output name=VERSION_NAME::$(${{github.workspace}}/gradlew properties --no-daemon --console=plain -q | grep "^version:" | awk '{printf $2}')"
id: fetch-version
- name: Get Version
run: |
echo "version_name=${{steps.fetch-version.outputs.VERSION_NAME}}" >> $GITHUB_ENV
- name: Get Version
run: |
echo "version_name=${{steps.fetch-version.outputs.VERSION_NAME}}" >> $GITHUB_ENV
- name: Upload to Modrinth
uses: Kir-Antipov/mc-publish@v3.2
with: