fix: set GHE_HOST environment variable in release workflow
Some checks failed
Build Release / build (Linux/X11) (pull_request) Failing after 1m38s
Build Release / build (Windows Desktop) (pull_request) Failing after 1m38s
Build Release / build (macOS) (pull_request) Failing after 1m38s

This commit is contained in:
2026-03-15 22:18:11 +01:00
parent 8ae9b00b5a
commit d8f6478b18

View File

@@ -17,6 +17,12 @@ jobs:
steps:
- uses: actions/checkout@v6
- name: Set GHE_HOST
id: ghe_host
run: |
$ghe_host = $env:GITHUB_SERVER_URL -replace "https://", ""
echo "::set-output name=GHE_HOST::$ghe_host"
- name: Extract version from CHANGELOG
id: changelog
uses: release-drafter/release-drafter@v5
@@ -27,6 +33,8 @@ jobs:
body: |
${{ description }}
token: ${{ secrets.GITEA_TOKEN }}
env:
GHE_HOST: ${{ steps.ghe_host.outputs.GHE_HOST }}
# Create Release also creates an Tag
# - name: Create git tag