From 59ce6ef564ab00d247ea7e7dd00ae2dfed9cb452 Mon Sep 17 00:00:00 2001 From: JuggleFredJr Date: Tue, 2 Jun 2026 16:49:59 +0200 Subject: [PATCH 1/3] Changed picture path to use .github/pictures/ instead of /github/ --- {github => .github/pictures}/example.gif | Bin README.md | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename {github => .github/pictures}/example.gif (100%) diff --git a/github/example.gif b/.github/pictures/example.gif similarity index 100% rename from github/example.gif rename to .github/pictures/example.gif diff --git a/README.md b/README.md index 20f6953..78d60a2 100644 --- a/README.md +++ b/README.md @@ -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. - + ## Features - 🪽 fly into the air without an elytra From 736fd21acbf8a8cb40cf80dbefcad3cc1ec55ebc Mon Sep 17 00:00:00 2001 From: JuggleGaming <48456801+JuggleGaming@users.noreply.github.com> Date: Tue, 2 Jun 2026 17:15:04 +0200 Subject: [PATCH 2/3] Improve release check messages in main.yml Updated error messages and release checks in workflow. --- .github/workflows/main.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bed5987..f41e50f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,6 +7,7 @@ on: permissions: contents: write + actions: write jobs: build: @@ -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} existiert bereits! Workflow wird abgebrochen, um Überschreiben zu verhindern." + 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 }} From fd7e52e953b031d2d70327715df762426e5212c9 Mon Sep 17 00:00:00 2001 From: JuggleGaming <48456801+JuggleGaming@users.noreply.github.com> Date: Tue, 2 Jun 2026 17:16:41 +0200 Subject: [PATCH 3/3] Update error message for existing release check --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f41e50f..c1b5454 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -70,7 +70,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | if gh release view "v${VERSION}" > /dev/null 2>&1; then - echo "::error::Release v${VERSION} existiert bereits! Workflow wird abgebrochen, um Überschreiben zu verhindern." + echo "::error::Release v${VERSION} already exists! Workflow cancelled. Please adjust the version." gh run cancel ${{ github.run_id }} sleep 10 exit 1