Skip to content

Commit

Permalink
Update build-beta.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
This-is-XiaoDeng authored Dec 16, 2023
1 parent c91f443 commit fa15166
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/build-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,6 @@ jobs:
company-name: "IT Craft Development Team"
copyright: "Copyright (c) 2023 IT Craft Development Team"


# run: |
# echo Yes | nuitka --onefile --standalone --follow-imports --show-modules --mingw64 --output-dir=build
# --lto=yes --windows-icon-from-ico=icon.ico --windows-file-version=$env:VERSION --windows-product-version=$env:VERSION --show-progress --windows-product-name=OneDisc --windows-file-description="OneBot Implementation for Discord" main.py
# env:
# VERSION: ${{ needs.get-version-number.outputs.VERSION }}

- name: "Upload build"
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -116,15 +110,12 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -U -r requirements.txt
pip install -U nuitka
- name: "Write version number"
run: |
echo "SUB_VER = $SUB_VER" >> version.py
env:
SUB_VER: ${{ needs.get-version-number.outputs.SUB_VERSION }}

- name: "Build executeable"

- name: "Build executeable"
uses: Nuitka/Nuitka-Action@v1.0
Expand All @@ -136,10 +127,6 @@ jobs:
output-dir: build
lto: yes
script-name: main.py
# run: |
# python -m nuitka --onefile --standalone --follow-imports --show-modules --output-dir=build --lto=yes --show-progress main.py
# env:
# VERSION: ${{ needs.get-version-number.outputs.VERSION }}

- name: "Upload build"
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit fa15166

Please sign in to comment.