ci: remove one-time upload_tag workaround from release workflow

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Hakan Seven 2026-04-24 10:11:28 +03:00
commit 4506cff931

View file

@ -4,10 +4,6 @@ on:
release:
types: [published]
workflow_dispatch:
inputs:
upload_tag:
description: 'Release tag to upload assets to (e.g. v0.1.6)'
required: false
jobs:
build-flatpak:
@ -108,12 +104,11 @@ jobs:
mv H7CAD*.AppImage H7CAD.AppImage
- name: Upload AppImage to release
if: github.event_name == 'release' || inputs.upload_tag != ''
if: github.event_name == 'release'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
TAG=${{ github.event_name == 'release' && github.ref_name || inputs.upload_tag }}
gh release upload $TAG H7CAD.AppImage --clobber --repo ${{ github.repository }}
gh release upload ${{ github.ref_name }} H7CAD.AppImage --clobber --repo ${{ github.repository }}
build-windows:
runs-on: windows-latest