Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes
11 changes: 6 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

permissions:
contents: write
actions: write

jobs:
build:
Expand Down Expand Up @@ -69,15 +70,15 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
if gh release view "v${VERSION}" > /dev/null 2>&1; then
echo "exists=true" >> $GITHUB_OUTPUT
echo "Release v${VERSION} already exists."
echo "::error::Release v${VERSION} already exists! Workflow cancelled. Please adjust the version."
gh run cancel ${{ github.run_id }}
sleep 10
exit 1
else
echo "exists=false" >> $GITHUB_OUTPUT
echo "Release v${VERSION} does not exist yet."
echo "Release v${VERSION} existiert noch nicht. Fahre fort..."
fi

- name: Create GitHub Release
if: steps.check_release.outputs.exists == 'false'
uses: softprops/action-gh-release@v2
with:
name: Release v${{ env.VERSION }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# OneWayElytra
Do you want to glied from your spawn into the unknown? Even without ever entering the end? This plugin adds a one-way-elytra for your spawn. Players are able to fly into the air and boost once they are in the air.

<img src="/github/example.gif" width="400">
<img src="/.github/pictures/example.gif" width="400">

## Features
- 🪽 fly into the air without an elytra
Expand Down
Loading