Skip to content

Commit

Permalink
Add releases workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
waliid committed Dec 2, 2024
1 parent b1131bf commit 8c9b1ae
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/releases.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
name: Releases

on: # yamllint disable-line rule:truthy
push:
tags:
- '*'

jobs:
deliver-demo-releases:
name: "🚀 Releases"
runs-on: macos-latest
strategy:
matrix:
platform: [ios, tvos]
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Add Apple certificate
run: |
Scripts/add-apple-certificate.sh \
$RUNNER_TEMP \
${{ secrets.KEYCHAIN_PASSWORD }} \
${{ secrets.SRGSSR_APPLE_DEV_CERTIFICATE_B64 }}
- name: Configure environment
run: |
Scripts/configure-environment.sh \
${{ secrets.APP_STORE_CONNECT_API_KEY }}
- name: Archive the demo
run: |
make deliver-demo-release-${{ matrix.platform }}
env:
TEAM_ID: ${{ secrets.TEAM_ID }}
KEY_ID: ${{ secrets.APP_STORE_CONNECT_KEY_ID }}
KEY_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_KEY_ISSUER_ID }}
TESTFLIGHT_GROUPS: ${{ vars.TESTFLIGHT_GROUPS }}

0 comments on commit 8c9b1ae

Please sign in to comment.