Skip to content

Commit

Permalink
Merge pull request #111 from dangreene0/develop
Browse files Browse the repository at this point in the history
Fixed Linux and macOS not being executable
  • Loading branch information
love-linger authored May 6, 2024
2 parents b651835 + 9ccd386 commit 478d52b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ 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: Packing Program
run: tar -cvf sourcegit.osx-x64.tar publish/
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: sourcegit.osx-x64
path: publish
path: sourcegit.osx-x64.tar
build-macos-arm64:
name: Build macOS (Apple Silicon)
runs-on: macos-latest
Expand All @@ -67,13 +67,13 @@ 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: Packing Program
run: tar -cvf sourcegit.osx-arm64.tar publish/
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: sourcegit.osx-arm64
path: publish
path: sourcegit.osx-arm64.tar
build-linux:
name: Build Linux
runs-on: ubuntu-latest
Expand All @@ -92,10 +92,10 @@ 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: Packing Program
run: tar -cvf sourcegit.linux-x64.tar publish/
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: sourcegit.linux-x64
path: publish
path: sourcegit.linux-x64.tar

0 comments on commit 478d52b

Please sign in to comment.