Skip to content

Commit

Permalink
temp remove of Apple codesigning as cert needs renewal
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-korneck committed Jan 5, 2022
1 parent ac78eff commit 4bc6579
Showing 1 changed file with 34 additions and 33 deletions.
67 changes: 34 additions & 33 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,24 +153,25 @@ jobs:
if: ${{ matrix.no_upx != true }}
run: sudo apt-get -y update && sudo apt-get -y install upx && upx ./getignore${{ matrix.file_extension }}

- name: Import darwin code-signing certificates
if: ${{ matrix.os == 'darwin' }}
uses: Apple-Actions/import-codesign-certs@v1
with:
p12-file-base64: ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_P12_BASE64 }} #dev id cert as b64
p12-password: ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_PASSWORD }} #pw for cert
# 20220105: temp remove of Apple codesigning as cert needs renewal
# - name: Import darwin code-signing certificates
# if: ${{ matrix.os == 'darwin' }}
# uses: Apple-Actions/import-codesign-certs@v1
# with:
# p12-file-base64: ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_P12_BASE64 }} #dev id cert as b64
# p12-password: ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_PASSWORD }} #pw for cert

- name: Sign darwin binary with Gon
if: ${{ matrix.os == 'darwin' }}
env:
AC_USERNAME: ${{ secrets.AC_USERNAME }} #apple id
AC_PASSWORD: ${{ secrets.AC_PASSWORD }} #app specific pw for apple id
run: |
brew tap mitchellh/gon
brew install mitchellh/gon/gon
gon -log-level=debug -log-json ./gon.json
rm -f ./getignore
unzip getignore
# - name: Sign darwin binary with Gon
# if: ${{ matrix.os == 'darwin' }}
# env:
# AC_USERNAME: ${{ secrets.AC_USERNAME }} #apple id
# AC_PASSWORD: ${{ secrets.AC_PASSWORD }} #app specific pw for apple id
# run: |
# brew tap mitchellh/gon
# brew install mitchellh/gon/gon
# gon -log-level=debug -log-json ./gon.json
# rm -f ./getignore
# unzip getignore
- name: Upload artifact
uses: actions/upload-artifact@v1
with:
Expand Down Expand Up @@ -221,23 +222,23 @@ jobs:
- name: package darwin universal binary
run: |
lipo -create getignore_darwin_arm64/getignore getignore_darwin_amd64/getignore -output getignore
- name: Import darwin code-signing certificates
uses: Apple-Actions/import-codesign-certs@v1
with:
p12-file-base64: ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_P12_BASE64 }} #Apple Dev ID cert as b64
p12-password: ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_PASSWORD }} #pw for cert
# 20220105: temp remove of Apple codesigning as cert needs renewal
# - name: Import darwin code-signing certificates
# uses: Apple-Actions/import-codesign-certs@v1
# with:
# p12-file-base64: ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_P12_BASE64 }} #Apple Dev ID cert as b64
# p12-password: ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_PASSWORD }} #pw for cert

- name: Sign darwin binary with Gon
env:
AC_USERNAME: ${{ secrets.AC_USERNAME }} #apple id
AC_PASSWORD: ${{ secrets.AC_PASSWORD }} #app specific pw for apple id
run: |
brew tap mitchellh/gon
brew install mitchellh/gon/gon
gon -log-level=debug -log-json ./gon.json
rm -f ./getignore
unzip getignore
# - name: Sign darwin binary with Gon
# env:
# AC_USERNAME: ${{ secrets.AC_USERNAME }} #apple id
# AC_PASSWORD: ${{ secrets.AC_PASSWORD }} #app specific pw for apple id
# run: |
# brew tap mitchellh/gon
# brew install mitchellh/gon/gon
# gon -log-level=debug -log-json ./gon.json
# rm -f ./getignore
# unzip getignore
- name: Upload artifact
uses: actions/upload-artifact@v1
with:
Expand Down

0 comments on commit 4bc6579

Please sign in to comment.