mirror of
https://github.com/v2rayA/v2rayA.git
synced 2026-11-20 23:02:25 +03:00
build.sh and build.ps1 each built the GUI, the core and the service their own way, and nothing in the repository ran them; build.sh passed a with_gvisor tag no source file declares. build.sh now runs the same commands as _build_web.yml and _build_binaries.yml, takes the version as an argument or from git describe, and stops at the first failing step; build.ps1 is the same sequence for PowerShell. release_main.yml and beta_release_main.yml duplicated every release job and had drifted (the beta looked the release up in a hard-coded repository). Both now call _release.yml with the tag, a prerelease flag and whether to publish to the downstream package channels.
19 lines
340 B
YAML
19 lines
340 B
YAML
name: Build & Release v2rayA
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
tag:
|
|
type: string
|
|
description: "The tag to release"
|
|
required: true
|
|
|
|
jobs:
|
|
release:
|
|
uses: ./.github/workflows/_release.yml
|
|
with:
|
|
tag: ${{ inputs.tag }}
|
|
prerelease: false
|
|
publish_downstream: true
|
|
secrets: inherit
|