Skip to content

Commit

Permalink
Add distribution workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
cr0wst committed Apr 1, 2024
1 parent 21ac796 commit 8605493
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/distribute.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
on: [push]
jobs:
distribute:
runs-on: macOS-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
node-version: 18
- name: Install Dependencies
run: npm install
- name: Prepare for Distribution
run: |
mkdir -p ~/private_keys
echo '${{ secrets.api_key }}' > ~/private_keys/AuthKey_${{ secrets.api_key_id }}.p8
echo '${{ secrets.mac_certs }}' | base64 -d > applecert.p12
- name: Build and Release Application
run: npm run build:mac
env:
APPLE_ID: ${{ secrets.apple_id }}
APPLE_ID_PASSWORD: ${{ secrets.apple_id_password }}
APPLEID: ${{ secrets.apple_id }}
APPLEIDPASS: ${{ secrets.apple_id_password }}

0 comments on commit 8605493

Please sign in to comment.