Skip to content

Commit 16741c2

Browse files
authored
Merge pull request #107 from dangreene0/develop
Added ability to run program by default for macOS and Linux
2 parents e0d3a32 + c7784b0 commit 16741c2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ jobs:
4444
run: dotnet build -c Release
4545
- name: Publish
4646
run: dotnet publish src/SourceGit.csproj -c Release -o publish -r osx-x64 -p:PublishAot=true -p:PublishTrimmed=true -p:TrimMode=link --self-contained
47+
- name: Allow Executing File as Program
48+
run: chmod +x publish/Sourcegit
4749
- name: Upload Artifact
4850
uses: actions/upload-artifact@v4
4951
with:
@@ -65,6 +67,8 @@ jobs:
6567
run: dotnet build -c Release
6668
- name: Publish
6769
run: dotnet publish src/SourceGit.csproj -c Release -o publish -r osx-arm64 -p:PublishAot=true -p:PublishTrimmed=true -p:TrimMode=link --self-contained
70+
- name: Allow Executing File as Program
71+
run: chmod +x publish/Sourcegit
6872
- name: Upload Artifact
6973
uses: actions/upload-artifact@v4
7074
with:
@@ -88,6 +92,8 @@ jobs:
8892
run: dotnet publish src/SourceGit.csproj -c Release -o publish -r linux-x64 -p:PublishAot=true -p:PublishTrimmed=true -p:TrimMode=link --self-contained
8993
- name: Rename Executable File
9094
run: mv publish/SourceGit publish/sourcegit
95+
- name: Allow Executing File as Program
96+
run: chmod +x publish/sourcegit
9197
- name: Upload Artifact
9298
uses: actions/upload-artifact@v4
9399
with:

0 commit comments

Comments
 (0)