From 827851d4cc0f2c404c36d9b622871728b908d2dc Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 23 Apr 2026 12:45:52 +0000 Subject: [PATCH] Add Hangar upload step to create-release workflow Agent-Logs-Url: https://github.com/funkemunky/AntiVPN/sessions/b41160da-1669-4eb1-a241-828cd26f034f Co-authored-by: funkemunky <30784509+funkemunky@users.noreply.github.com> --- .github/workflows/create-release.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 7bba1ff2..b4b21f30 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -54,3 +54,18 @@ jobs: asset_path: ./build/libs/AntiVPN-${{ env.VERSION }}-universal.jar asset_name: AntiVPN-v${{ env.VERSION }}.jar asset_content_type: application/java-archive + - name: Upload to Hangar + uses: benwoo1110/hangar-upload-action@v1 + with: + api_token: ${{ secrets.HANGAR_API_TOKEN }} + slug: AntiVPN + version: ${{ env.VERSION }} + channel: release + files: | + [ + { + "path": "./build/libs/AntiVPN-${{ env.VERSION }}-universal.jar", + "platforms": ["PAPER", "VELOCITY", "WATERFALL"] + } + ] + description: ${{ steps.changelog.outputs.content }}