Skip to content

Commit

Permalink
fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
Yshayy authored Aug 27, 2023
1 parent bd13f5f commit 3e67641
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gh-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ jobs:
CERT_PASS: ${{ secrets.APPLE_CERT_PASS }}
CERT_CN: ${{ vars.APPLE_CERT_CN }}
run: |
tar -xzf preevy-${{ matrix.platform }}-${{ matrix.arch }}.tar.gz
tar -xzf ./preevy-bin/preevy-${{ matrix.platform }}-${{ matrix.arch }}.tar.gz
codesign --remove-signature ./preevy
echo $CERT_DATA | base64 --decode > certificate.p12
security create-keychain -p temp temp.keychain
security import certificate.p12 -k temp.keychain -P $CERT_PASS -T /usr/bin/codesign
codesign --keychain temp.keychain --sign $CERT_CN ./preevy
security delete-keychain temp.keychain
rm certificate.p12
tar -czf preevy-${{ matrix.platform }}-${{ matrix.arch }}.tar.gz ./preevy
tar -czf ./preevy-bin/preevy-${{ matrix.platform }}-${{ matrix.arch }}.tar.gz ./preevy
- name: Upload artifacts
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 3e67641

Please sign in to comment.