2021-12-03 14:31:19 +00:00
|
|
|
name: Release
|
2021-09-27 17:33:22 +00:00
|
|
|
|
|
|
|
on:
|
2021-11-30 11:41:42 +00:00
|
|
|
push:
|
2024-09-23 13:02:26 +00:00
|
|
|
tags:
|
|
|
|
- "builds/*"
|
2021-09-27 17:33:22 +00:00
|
|
|
|
|
|
|
env:
|
2022-05-17 21:16:32 +00:00
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
2021-10-16 09:47:25 +00:00
|
|
|
APP_STORE_CONNECT_API_KEY: ${{ secrets.APP_STORE_CONNECT_API_KEY }}
|
2021-09-27 17:33:22 +00:00
|
|
|
FASTLANE_USERNAME: ${{ secrets.FASTLANE_USERNAME }}
|
|
|
|
FASTLANE_PASSWORD: ${{ secrets.FASTLANE_PASSWORD }}
|
|
|
|
|
2024-09-23 13:02:26 +00:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2021-09-27 17:33:22 +00:00
|
|
|
jobs:
|
2021-12-03 14:31:19 +00:00
|
|
|
build_upload:
|
|
|
|
name: Upload to ASC
|
2024-09-23 13:02:26 +00:00
|
|
|
runs-on: macos-14
|
2021-12-03 14:31:19 +00:00
|
|
|
strategy:
|
|
|
|
fail-fast: true
|
|
|
|
matrix:
|
2024-09-23 13:02:26 +00:00
|
|
|
#name: ["iOS", "macOS", "tvOS"]
|
|
|
|
name: ["iOS", "macOS"]
|
2021-12-03 14:31:19 +00:00
|
|
|
include:
|
|
|
|
- name: "iOS"
|
|
|
|
platform: "ios"
|
|
|
|
- name: "macOS"
|
2024-09-23 13:02:26 +00:00
|
|
|
platform: "macos"
|
|
|
|
#- name: "tvOS"
|
|
|
|
# platform: "tvos"
|
2021-11-11 21:39:23 +00:00
|
|
|
steps:
|
2024-09-23 13:02:26 +00:00
|
|
|
- uses: actions/checkout@v4
|
2021-12-04 09:38:44 +00:00
|
|
|
- uses: ruby/setup-ruby@v1
|
2021-12-03 14:31:19 +00:00
|
|
|
with:
|
2021-12-04 09:38:44 +00:00
|
|
|
bundler-cache: true
|
2024-09-23 13:02:26 +00:00
|
|
|
- name: Access private repositories
|
|
|
|
env:
|
|
|
|
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
2021-12-04 09:38:44 +00:00
|
|
|
run: |
|
2024-09-23 13:02:26 +00:00
|
|
|
git config --global url.https://$ACCESS_TOKEN@github.com/.insteadOf git@github.com:
|
|
|
|
- name: Upload ${{ matrix.name }} app
|
|
|
|
id: upload_app
|
2022-04-12 20:55:39 +00:00
|
|
|
timeout-minutes: 15
|
2021-12-04 22:46:30 +00:00
|
|
|
env:
|
2024-09-23 13:02:26 +00:00
|
|
|
MATCH_USERNAME: ${{ secrets.MATCH_USERNAME }}
|
|
|
|
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
|
|
|
|
MATCH_GIT_URL: ${{ secrets.MATCH_GIT_URL }}
|
|
|
|
MATCH_GIT_PRIVATE_KEY: ${{ secrets.MATCH_GIT_PRIVATE_KEY }}
|
2021-12-04 22:46:30 +00:00
|
|
|
PILOT_BETA_APP_FEEDBACK: ${{ secrets.PILOT_BETA_APP_FEEDBACK }}
|
|
|
|
PILOT_BETA_APP_REVIEW_INFO: ${{ secrets.PILOT_BETA_APP_REVIEW_INFO }}
|
2024-09-23 13:02:26 +00:00
|
|
|
PILOT_GROUPS: ${{ vars.PILOT_GROUPS }}
|
2024-01-07 11:17:46 +00:00
|
|
|
run: |
|
2024-09-23 13:02:26 +00:00
|
|
|
ci/recognize-match-hostname.sh
|
|
|
|
bundle exec fastlane --env ${{ matrix.platform }} beta
|