From c7784b05cdd33ca0d8e09964b8c0e77c80805094 Mon Sep 17 00:00:00 2001 From: dani Date: Sun, 5 May 2024 23:13:45 +0000 Subject: [PATCH] Added ability to run program by default. --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 983a837c..6a911e7e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,6 +44,8 @@ jobs: run: dotnet build -c Release - name: Publish run: dotnet publish src/SourceGit.csproj -c Release -o publish -r osx-x64 -p:PublishAot=true -p:PublishTrimmed=true -p:TrimMode=link --self-contained + - name: Allow Executing File as Program + run: chmod +x publish/Sourcegit - name: Upload Artifact uses: actions/upload-artifact@v4 with: @@ -65,6 +67,8 @@ jobs: 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 + - name: Allow Executing File as Program + run: chmod +x publish/Sourcegit - name: Upload Artifact uses: actions/upload-artifact@v4 with: @@ -88,6 +92,8 @@ jobs: 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: Allow Executing File as Program + run: chmod +x publish/sourcegit - name: Upload Artifact uses: actions/upload-artifact@v4 with: