Skip to content

Build and Sign Internxt Desktop MacOS App - Prod #38

Build and Sign Internxt Desktop MacOS App - Prod

Build and Sign Internxt Desktop MacOS App - Prod #38

name: Build and Sign Internxt Desktop MacOS App - Prod
on:
workflow_dispatch:
# This envs are available for all the steps
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
SLACK_WEBHOOK_MAC_TEAM: ${{secrets.SLACK_WEBHOOK_MAC_TEAM}}
jobs:
build:
runs-on: macos-14
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Configure SSH
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Add env.json
id: create-env-json
uses: jsdaniell/[email protected]
with:
name: "env.local.json"
json: ${{ secrets.JSON_ENV }}
dir: 'InternxtDesktop/'
- name: Add App Store JSON
id: create-app-store-json
uses: jsdaniell/[email protected]
with:
name: "app_store_key.json"
json: ${{ secrets.APP_STORE_JSON }}
# See https://github.com/actions/runner/issues/2958
- name: Install Python Setuptools
run: sudo -H pip install setuptools
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install create-dmg
run: npm install -g create-dmg
- name: Run Fastlane release
run: fastlane prod_ci --verbose
env:
MATCH_PASSWORD: ${{ secrets.FASTLANE_MATCH_PASSWORD }}