Builder main installer #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Builder | |
on: | |
workflow_dispatch: | |
jobs: | |
build-job: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Python packages | |
run: pip install py7zr pefile colorama | |
- 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 /dMySrcDir="${{ github.workspace }}/toolkit" /dMyOutputDir="${{ github.workspace }}" | |
- name: Upload Setup as Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: setup-installer-artifact | |
path: ./bin/installer/full/*.exe |