Skip to content

Commit

Permalink
chore: Update issue templates and improve build workflow configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
techtanic committed Nov 2, 2024
1 parent 4cb9800 commit 2c97599
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@ contact_links:
url: https://discord.gg/wFsfhJh4Rh
about: |
For any other help or just discussion.
- name: Telegram
url: https://t.me/techtanic
about: |
For any other help or just discussion.
24 changes: 17 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Build

on:
workflow_dispatch:
push:
branches:
- master
workflow_dispatch:
push:
branches:
- master

jobs:
build:
Expand All @@ -15,9 +15,13 @@ jobs:
- name: "DUCE-GUI-windows"
icon: "extra/DUCE-LOGO.ico"
mode: "-w"
script: "gui.py"
settings: "default_settings_gui_settings.json"
- name: "DUCE-CLI-windows"
icon: "extra/DUCE-LOGO.ico"
mode: "-c"
script: "cli.py"
settings: "default_settings_cli_settings.json"
steps:
- uses: actions/checkout@v4

Expand All @@ -31,11 +35,17 @@ jobs:
run: pip install -r requirements.txt pyinstaller -U

- name: Build ${{ matrix.name }}
run: pyinstaller -y -F ${{ matrix.mode }} -i "${{ matrix.icon }}" --clean --name "${{ matrix.name }}" --add-data "base.py;." --add-data "colors.py;." --add-data "README.md;." --add-data "LICENSE;." "${{ matrix.name == 'DUCE-GUI-windows' && 'gui.py' || 'cli.py' }}"
run: |
pyinstaller -y -F ${{ matrix.mode }} -i "${{ matrix.icon }}" --clean --name "${{ matrix.name }}" \
--add-data "base.py;." \
--add-data "colors.py;." \
--add-data "${{ matrix.settings }};." \
--add-data "README.md;." \
--add-data "LICENSE;." \
"${{ matrix.script }}"
- name: Upload ${{ matrix.name }}.exe
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.name }}.exe
path: ./dist/${{ matrix.name }}.exe

path: ./dist/${{ matrix.name }}.exe

0 comments on commit 2c97599

Please sign in to comment.