2024-10-15 18:14:21 +08:00
|
|
|
name: Release tag
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
tags:
|
|
|
|
- 'v*'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: [windows11]
|
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Build and deploy
|
|
|
|
run: |
|
|
|
|
resources/build.ps1 build
|
|
|
|
resources/build.ps1 deploy
|
|
|
|
resources/build.ps1 changelog
|
|
|
|
- name: Upload Gitea Release
|
|
|
|
uses: akkuman/gitea-release-action@v1
|
|
|
|
with:
|
|
|
|
body_path: build/CHANGELOG.txt
|
|
|
|
files: |-
|
2024-11-14 12:11:59 +08:00
|
|
|
build/视觉防夹设备上位机工具*.zip
|