From 03c3c151bf7b38fefd6039edb1d6e4c306915028 Mon Sep 17 00:00:00 2001 From: ChsBuffer <33744752+chsbuffer@users.noreply.github.com> Date: Fri, 15 Oct 2021 20:32:56 +0800 Subject: [PATCH] Update CI --- .github/workflows/build.yml | 5 ++++- .github/workflows/release.yml | 3 +++ scripts/download/xray-core.ps1 | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b59093f1..72795451 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,5 +1,8 @@ name: Netch Build CI -on: [push, pull_request] +on: + push: + branches: [ master ] + pull_request: jobs: build: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8f283a7a..7865e004 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,6 +41,9 @@ jobs: Netch.7z body: | [![](https://img.shields.io/badge/Telegram-Channel-blue)](https://t.me/netch_channel) [![](https://img.shields.io/badge/Telegram-Group-green)](https://t.me/netch_group) + + [**第一次使用请务必先安装 .NET 5.0 运行库**](https://aka.ms/dotnet/5.0/windowsdesktop-runtime-win-x64.exe) + ## Changelogs * This is an automated deployment of GitHub Actions, the change log should be updated manually soon diff --git a/scripts/download/xray-core.ps1 b/scripts/download/xray-core.ps1 index f50f2f5a..150815cd 100644 --- a/scripts/download/xray-core.ps1 +++ b/scripts/download/xray-core.ps1 @@ -1,5 +1,5 @@ param([string]$OutputPath) -$address="https://github.com/XTLS/Xray-core/releases/download/v1.4.3/Xray-windows-64.zip" +$address="https://github.com/XTLS/Xray-core/releases/download/v1.4.5/Xray-windows-64.zip" Invoke-WebRequest -Uri $address -OutFile xray-core.zip Expand-Archive -Force -Path xray-core.zip -DestinationPath xray-core