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
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
- name: Upload Gitea Release
uses: akkuman/gitea-release-action@v1
with:
body_path: build/CHANGELOG.txt
files: |-
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: |-
build/SmartLockerTools.zip