-
Notifications
You must be signed in to change notification settings - Fork 90
29 lines (29 loc) · 961 Bytes
/
build-release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: build release
on:
push:
tags:
- '[0-9].[0-9]*'
jobs:
build-devel:
if: startsWith(github.ref, 'refs/tags/')
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.sha }}
- run: cmd.exe /c build\buildall.bat Release GA
- run: dir; dir bin; dir bin\Release
- run: cmd.exe /c build\make-dist-bin.bat
- run: dir dist; dir dist\Poderosa; dir dist\ContributedPlugins\ExtendPaste
- run: Compress-Archive "dist\Poderosa" "dist\Poderosa-${{ github.ref_name }}-bin.zip"
- run: Compress-Archive "dist\ContributedPlugins" "dist\ContributedPlugins-${{ github.ref_name }}-bin.zip"
- run: dir dist
- uses: actions/upload-artifact@v4
with:
name: build-logs
path: build/*.log
- uses: ncipollo/release-action@v1
with:
draft: true
generateReleaseNotes: true
artifacts: dist/*.zip