Skip to content

Commit

Permalink
Action | 测试一下 lto=no 的 GitHub 效率
Browse files Browse the repository at this point in the history
  • Loading branch information
shenjackyuanjie committed Nov 26, 2023
1 parent 231c128 commit 28e348e
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
run: |
python Tools/update-pyproject.py
# 淦 忘记 disable-console 了
python -m lndl_nuitka . -y -- --disable-console
python -m lndl_nuitka . -y -- --disable-console --lto=no
- name: Delete Useless Files and Compress with upx
shell: pwsh
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
run: |
python Tools/update-pyproject.py
# 淦 忘记 disable-console 了
python -m lndl_nuitka . -y -- --disable-console
python -m lndl_nuitka . -y -- --disable-console --lto=no
- name: Delete Useless Files and Compress with upx
run: |
Expand Down Expand Up @@ -169,15 +169,15 @@ jobs:
7z a -tzip "MCSL2-${{ env.MCSL2_VERSION }}-Linux-x64.zip" "./MCSL2-Linux-x64/*"
7z a -tzip "MCSL2-${{ env.MCSL2_VERSION }}-Linux-x86.zip" "./MCSL2-Linux-x86/*"
- name: Release
uses: softprops/action-gh-release@v1
with:
body_path: ./repo/ChangeLog.md
prerelease: false
draft: false
tag_name: v${{ env.MCSL2_VERSION }}
files: |
*.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Release
# uses: softprops/action-gh-release@v1
# with:
# body_path: ./repo/ChangeLog.md
# prerelease: false
# draft: false
# tag_name: v${{ env.MCSL2_VERSION }}
# files: |
# *.zip

# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 28e348e

Please sign in to comment.