Create builder.yml

This commit is contained in:
DSR! 2024-03-17 20:51:28 -03:00 committed by GitHub
parent 9b654d2cb1
commit 2051a0b3ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

29
.github/workflows/builder.yml vendored Normal file
View File

@ -0,0 +1,29 @@
name: Builder
on:
workflow_dispatch:
jobs:
build-job:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Prepare directory
working-directory: ./bin/installer
run: python generate-sections.py -f ${{ github.workspace }}/toolkit -o ${{ github.workspace }}/bin/installer/full
- name: Prepare documents
working-directory: ./bin/installer
run: ./build-docs.bat
- name: Build installer
working-directory: ./bin/installer/full
run: ISCC setup.iss
- name: Upload Setup as Artifact
uses: actions/upload-artifact@v4
with:
name: setup-installer-artifact
path: ./bin/installer/full/*.exe