SmartLockerTools/.gitea/workflows/build_windows.yaml
amass f968a0a242
Some checks are pending
Windows CI / build (push) Waiting to run
fix ci.
2024-10-16 01:28:29 +08:00

18 lines
553 B
YAML

name: Windows CI
on: [push]
jobs:
build:
runs-on: [windows11]
steps:
- name: Clone repository
run: |
$branch = "${{ github.ref }}" -replace '^refs/heads/', ''
$url = "https://${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_PASSWORD }}@amass.fun/gitea/${{ gitea.repository }}.git"
git clone --depth 1 --branch=$branch $url .
git checkout ${{ github.sha }}
- name: Build and deploy
run: |
resources/build.ps1 build
resources/build.ps1 deploy
resources/build.ps1 changelog