SmartLockerTools/.gitea/workflows/release_windows.yaml
amass 14dd4c8ee6
Some checks failed
Build Applications / PullDocker (push) Successful in 4s
Windows CI / build (push) Successful in 3m37s
Build Applications / Build (push) Successful in 2m18s
Deploy Release / Build (push) Successful in 2m21s
Release tag / build (push) Failing after 13m50s
fix checkou.
2024-11-05 23:43:18 +08:00

26 lines
778 B
YAML

name: Release tag
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: [windows11]
steps:
- name: Clone repository
run: |
$branch = "${{ github.ref }}" -replace '^refs/tags/', ''
git clone --depth 1 --branch=$branch https://${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_PASSWORD }}@amass.fun/gitea/${{ gitea.repository }}.git .
git checkout ${{ github.sha }}
- 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_${{ env.tag }}.zip