Files
Toju/.gitea/workflows/publish-draft-release.yml
Myx 22f583e6b3
All checks were successful
Queue Release Build / prepare (push) Successful in 32s
Queue Release Build / build-windows (push) Successful in 30m21s
Queue Release Build / build-linux (push) Successful in 40m47s
Queue Release Build / finalize (push) Successful in 4m8s
Add missing environments file swap
2026-03-11 11:38:34 +01:00

31 lines
804 B
YAML

name: Publish Draft Release
on:
workflow_dispatch:
inputs:
tag:
description: Release tag to publish, for example v1.0.42
required: true
jobs:
publish-release:
name: Publish approved draft release
runs-on: windows
steps:
- name: Checkout repository
uses: https://github.com/actions/checkout@v4
# - name: Setup Node.js
# uses: https://github.com/actions/setup-node@v4
# with:
# node-version: 20
- name: Publish draft release
env:
GITEA_RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}
run: >
node tools/gitea-release.js publish
--server-url "${{ github.server_url }}"
--repository "${{ github.repository }}"
--tag "${{ github.event.inputs.tag }}"