summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorПавел Жуков <33721692+LeaveMyYard@users.noreply.github.com>2023-05-27 18:44:27 +0300
committerПавел Жуков <33721692+LeaveMyYard@users.noreply.github.com>2023-05-27 18:44:27 +0300
commit8b7abd743f64e22b61c9ce1ad13353d40c4a55ae (patch)
tree66835a5d06c551b5a7a8ba788695dd821e2994c6 /.github
parent462fd6be497e3ac9a115fc54b18ac8a478f6638b (diff)
Fix Upload and macos signing
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build-on-release.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/build-on-release.yml b/.github/workflows/build-on-release.yml
index 619d8e1..93d8d47 100644
--- a/.github/workflows/build-on-release.yml
+++ b/.github/workflows/build-on-release.yml
@@ -37,9 +37,10 @@ jobs:
- name: Sign the application
if: matrix.os == 'macos-latest'
+ env:
+ APPLE_DEV_PASSWORD: ${{ secrets.APPLE_DEV_PASSWORD }}
run: |
- echo "${{ secrets.APPLE_DEV_PASSWORD }}" | xcrun altool --store-password-in-keychain-item "AC_PASSWORD"
- codesign --force --options runtime --sign "Developer ID Application: pavel@robusta.dev" dist/krr/krr
+ codesign --force --options runtime --sign "Developer ID Application: pavel@robusta.dev" --keychain-password "$APPLE_DEV_PASSWORD" dist/krr/krr
- name: Zip the application
run: |
@@ -51,6 +52,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
- asset_path: .
+ asset_path: ./krr-${{ matrix.os }}-${{ github.ref_name }}.zip
asset_name: krr-${{ matrix.os }}-${{ github.ref_name }}.zip
asset_content_type: application/octet-stream