Add runner ci (test)

This commit is contained in:
2026-03-10 23:56:53 +01:00
parent c3fbd7d4fe
commit f5bf18b739
21 changed files with 1372 additions and 39 deletions

View File

@@ -0,0 +1,30 @@
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: linux
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.GITEA_RELEASE_TOKEN }}
run: >
node tools/gitea-release.js publish
--server-url "${{ github.server_url }}"
--repository "${{ github.repository }}"
--tag "${{ github.event.inputs.tag }}"