Skip to content

Commit

Permalink
Revert ">> $GITHUB_OUTPUT"
Browse files Browse the repository at this point in the history
This reverts commit cba9ab6.
  • Loading branch information
Loweredgames committed Feb 4, 2024
1 parent cba9ab6 commit 94d8e12
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
filename="${{ env.MAP_NAME }}-MC${{ steps.get_version.outputs.RELEASE }}-R${{ steps.get_version.outputs.NIGHTLY }}"
fi
filename="${filename}.zip"
echo "::set-output name=zipname::$filename" >> $GITHUB_OUTPUT
echo "::set-output name=zipname::$filename"
- name: Install 7zip
run: sudo apt-get install p7zip-full
- name: Zip Resource Pack
Expand All @@ -60,22 +60,22 @@ jobs:
else
release_name="$base_name"
fi
echo "::set-output name=releasename::$release_name" >> $GITHUB_OUTPUT
echo "::set-output name=releasename::$release_name"
- name: Construct tag name
id: construct_tag
run: |
tag_name="${{ steps.get_version.outputs.RELEASE }}-R${{ steps.get_version.outputs.NIGHTLY }}"
if [[ -n "${{ steps.get_version.outputs.RELSUBVERSION }}" ]]; then
tag_name="${tag_name}_${{ steps.get_version.outputs.RELSUBVERSION }}"
fi
echo "::set-output name=tag::$tag_name" >> $GITHUB_OUTPUT
echo "::set-output name=tag::$tag_name"
- name: Determine pre-release status
id: prerelease_status
run: |
if [[ -n "${{ steps.get_version.outputs.RELSUBVERSION }}" ]]; then
echo "::set-output name=prerelease::true" >> $GITHUB_OUTPUT
echo "::set-output name=prerelease::true"
else
echo "::set-output name=prerelease::false" >> $GITHUB_OUTPUT
echo "::set-output name=prerelease::false"
fi
- name: Create Release
uses: softprops/action-gh-release@v1
Expand All @@ -89,4 +89,4 @@ jobs:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
- name: Get Download URL
run: |
echo "${{ env.REPO_URL }}/releases/download/${{ steps.construct_tag.outputs.tag }}/${{ steps.construct_filename.outputs.zipname }}" >> $GITHUB_OUTPUT
echo "${{ env.REPO_URL }}/releases/download/${{ steps.construct_tag.outputs.tag }}/${{ steps.construct_filename.outputs.zipname }}"

0 comments on commit 94d8e12

Please sign in to comment.