make workflow correct.
Some checks failed
Windows CI / build (push) Failing after 12s

This commit is contained in:
amass 2024-10-02 17:01:21 +08:00
parent 8f50360ea9
commit e184bf32e7
2 changed files with 36 additions and 19 deletions

View File

@ -0,0 +1,14 @@
name: Windows CI
on: [push]
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

View File

@ -1,20 +1,23 @@
name: Windows CI name: Release tag
on: [push] on:
push:
jobs: tags:
build: - 'v*'
runs-on: [windows11]
steps: jobs:
- name: Checkout code build:
uses: actions/checkout@v4 runs-on: [windows11]
- name: Build and deploy steps:
run: | - name: Checkout code
resources/build.ps1 build uses: actions/checkout@v4
resources/build.ps1 deploy - name: Build and deploy
resources/build.ps1 changelog run: |
- name: Upload Gitea Release resources/build.ps1 build
uses: akkuman/gitea-release-action@v1 resources/build.ps1 deploy
with: resources/build.ps1 changelog
body_path: build/CHANGELOG.txt - name: Upload Gitea Release
files: |- uses: akkuman/gitea-release-action@v1
with:
body_path: build/CHANGELOG.txt
files: |-
build/SmartLockerTools.zip build/SmartLockerTools.zip