From 7589a8dcd0745f477cc806bf1b003cd50ef785b4 Mon Sep 17 00:00:00 2001 From: leo Date: Mon, 29 Apr 2024 14:25:24 +0800 Subject: [PATCH] ci: fix wrong runtime identifier for linux --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4721601c..983a837c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -85,7 +85,7 @@ jobs: - name: Build run: dotnet build -c Release - name: Publish - run: dotnet publish src/SourceGit.csproj -c Release -o publish -r osx-arm64 -p:PublishAot=true -p:PublishTrimmed=true -p:TrimMode=link --self-contained + run: dotnet publish src/SourceGit.csproj -c Release -o publish -r linux-x64 -p:PublishAot=true -p:PublishTrimmed=true -p:TrimMode=link --self-contained - name: Rename Executable File run: mv publish/SourceGit publish/sourcegit - name: Upload Artifact