mirror of
https://github.com/2dust/v2rayN.git
synced 2026-11-01 18:15:00 +03:00
78b0b2224b
* Protect models * Json Context * YAML AOT-friendly optimization * Run the Test in AOT mode * Remove TaskScheduler * Clean build output * Workflows
47 lines
885 B
YAML
47 lines
885 B
YAML
name: release Windows desktop (Avalonia UI)
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
release_tag:
|
|
required: false
|
|
type: string
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
permissions:
|
|
contents: write
|
|
actions: read
|
|
|
|
jobs:
|
|
build:
|
|
uses: ./.github/workflows/build.yml
|
|
with:
|
|
target: windows
|
|
|
|
release-zip:
|
|
if: inputs.release_tag != ''
|
|
needs: build
|
|
uses: ./.github/workflows/package-zip.yml
|
|
with:
|
|
target: windows-desktop
|
|
release_tag: ${{ inputs.release_tag }}
|
|
secrets: inherit
|
|
|
|
build-aot:
|
|
uses: ./.github/workflows/build.yml
|
|
with:
|
|
target: windows
|
|
isAot: true
|
|
|
|
release-aot-zip:
|
|
if: inputs.release_tag != ''
|
|
needs: build-aot
|
|
uses: ./.github/workflows/package-zip.yml
|
|
with:
|
|
target: windows-desktop
|
|
release_tag: ${{ inputs.release_tag }}
|
|
isAot: true
|
|
secrets: inherit
|