From 56affbe957c804f968370b9d03a8293ee16c9059 Mon Sep 17 00:00:00 2001 From: Sinspired <63581268+sinspired@users.noreply.github.com> Date: Tue, 12 Nov 2024 15:43:54 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20build=5Frelease.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build_release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index 16756a5..ff6e3dc 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -38,7 +38,7 @@ jobs: - name: Build executables (Linux) if: matrix.os == 'ubuntu-latest' run: | - for script in SetDNS.py SetHosts-IPv4.py SetHosts.py; do + for script in SetDNS.py SetHosts.py; do pyinstaller --onefile "$script" mv "dist/${script%.py}" "dist/${script%.py}-Linux-x64" done @@ -47,7 +47,7 @@ jobs: - name: Build executables (Windows) if: matrix.os == 'windows-latest' run: | - $scripts = @("SetDNS.py", "SetHosts-IPv4.py", "SetHosts.py") + $scripts = @("SetDNS.py", "SetHosts.py") if (Test-Path -Path "dist") { Remove-Item -Recurse -Force "dist" } @@ -70,7 +70,7 @@ jobs: - name: Build executables (macOS) if: matrix.os == 'macos-latest' run: | - for script in SetDNS.py SetHosts-IPv4.py SetHosts.py; do + for script in SetDNS.py SetHosts.py; do pyinstaller --onefile "$script" mv "dist/${script%.py}" "dist/${script%.py}-macOS-x64" done From a525636379cc8ccb8e16b311468746af5f0fa1b1 Mon Sep 17 00:00:00 2001 From: Sinspired <63581268+sinspired@users.noreply.github.com> Date: Tue, 12 Nov 2024 15:45:55 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20build=5Frelease.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build_release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index ff6e3dc..00ebd33 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -2,7 +2,7 @@ name: Build and Release on: push: tags: - - 'v*' + #- 'v*' jobs: build-and-release: