Skip to content

Commit

Permalink
Sign macOS build
Browse files Browse the repository at this point in the history
macOS on arm64 requires code signing.
  • Loading branch information
principis committed Dec 18, 2024
1 parent 79989f5 commit 5864262
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Binary file added .github/assets/codesign.p12
Binary file not shown.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@ jobs:
- name: Build tldr-sharp
run: |
dotnet publish -c Release --self-contained false -o 'publish/${{ matrix.runtime }}' -r '${{ matrix.runtime }}'
- name: Sign macOS build
if: ${{ startsWith(matrix.runtime, 'osx') }}
uses: indygreg/apple-code-sign-action@v1
with:
input_path: publish/${{ matrix.runtime }}/tldr-sharp
p12_file: .github/assets/codesign.p12
p12_password: ${{ secrets.codesign_password }}
- name: Cache Build
uses: actions/cache/save@v3
with:
Expand Down

0 comments on commit 5864262

Please sign in to comment.