Skip to content

Commit

Permalink
Enable macos-signing again. (#2679)
Browse files Browse the repository at this point in the history
  • Loading branch information
floitsch authored Dec 13, 2024
1 parent 909b6c8 commit 06d4a55
Showing 1 changed file with 20 additions and 22 deletions.
42 changes: 20 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1029,16 +1029,15 @@ jobs:
>> $GITHUB_OUTPUT
echo "$EOF" >> $GITHUB_OUTPUT
# Toitware's certificate isn't valid at the moment.
# - name: Sign macOS executables
# uses: toitlang/action-macos-sign-notarize@567fcd7c0b89e1b4d0fbc5132cce6e56224db1b7 # v1.2.0
# with:
# certificate: ${{ secrets.MACOS_CERTIFICATE }}
# certificate-password: ${{ secrets.MACOS_CERTIFICATE_PWD }}
# username: ${{ secrets.AC_USERNAME }}
# password: ${{ secrets.AC_PASSWORD }}
# apple-team-id: ${{ vars.MACOS_TEAM_ID }}
# app-path: ${{ steps.list-executables.outputs.result }}
- name: Sign macOS executables
uses: toitlang/action-macos-sign-notarize@567fcd7c0b89e1b4d0fbc5132cce6e56224db1b7 # v1.2.0
with:
certificate: ${{ secrets.MACOS_CERTIFICATE }}
certificate-password: ${{ secrets.MACOS_CERTIFICATE_PWD }}
username: ${{ secrets.AC_USERNAME }}
password: ${{ secrets.AC_PASSWORD }}
apple-team-id: ${{ vars.MACOS_TEAM_ID }}
app-path: ${{ steps.list-executables.outputs.result }}

- name: Compress
run: |
Expand All @@ -1063,18 +1062,17 @@ jobs:
empty-$arch
done
# Toitware's certificate isn't valid at the moment.
# - name: Sign DMGs
# uses: toitlang/action-macos-sign-notarize@567fcd7c0b89e1b4d0fbc5132cce6e56224db1b7 # v1.2.0
# with:
# certificate: ${{ secrets.MACOS_CERTIFICATE }}
# certificate-password: ${{ secrets.MACOS_CERTIFICATE_PWD }}
# username: ${{ secrets.AC_USERNAME }}
# password: ${{ secrets.AC_PASSWORD }}
# apple-team-id: ${{ vars.MACOS_TEAM_ID }}
# app-path: |
# out/toit-x64.dmg
# out/toit-arm.dmg
- name: Sign DMGs
uses: toitlang/action-macos-sign-notarize@567fcd7c0b89e1b4d0fbc5132cce6e56224db1b7 # v1.2.0
with:
certificate: ${{ secrets.MACOS_CERTIFICATE }}
certificate-password: ${{ secrets.MACOS_CERTIFICATE_PWD }}
username: ${{ secrets.AC_USERNAME }}
password: ${{ secrets.AC_PASSWORD }}
apple-team-id: ${{ vars.MACOS_TEAM_ID }}
app-path: |
out/toit-x64.dmg
out/toit-arm.dmg
- name: Upload artifacts
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 06d4a55

Please sign in to comment.