Merge pull request #191 from nnsnodnb/renovate/fastlane-plugin-fireba… #133
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: AdHoc | |
on: | |
push: | |
branches: | |
- develop | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
adhoc: | |
runs-on: macos-14 | |
env: | |
FASTLANE_SKIP_UPDATE_CHECK: 1 | |
DEVELOPER_DIR: /Applications/Xcode_15.3.app/Contents/Developer | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "3.2" | |
bundler-cache: true | |
- name: Cache Swift Packages | |
uses: actions/cache@v4 | |
id: cache-swiftpm | |
timeout-minutes: 20 | |
with: | |
path: .swiftpm | |
key: ${{ runner.os }}-swiftpm-${{ hashFiles('WebSocketClient.xcworkspace/xcshareddata/swiftpm/Package.resolved') }} | |
- name: Write IDESkipPackagePluginFingerprintValidatation | |
run: defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES | |
- name: Write IDESkipMacroFingerprintValidation | |
run: defaults write com.apple.dt.Xcode IDESkipMacroFingerprintValidation -bool YES | |
- name: Setup app-distribution-key.json | |
env: | |
APP_DISTRIBUTION_KEY_BASE64: ${{ secrets.APP_DISTRIBUTION_KEY_BASE64 }} | |
run: echo "${APP_DISTRIBUTION_KEY_BASE64}" | base64 -d > /tmp/app-distribution-key.json | |
- name: Fastlane adhoc | |
env: | |
FASTLANE_XCODEBUILD_SETTINGS_RETRIES: 20 | |
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | |
MATCH_KEYCHAIN_NAME: "fastlane_keychain" | |
MATCH_KEYCHAIN_PASSWORD: "" | |
GOOGLE_APPLICATION_CREDENTIALS: /tmp/app-distribution-key.json | |
GIT_PRIVATE_KEY_BASE64: ${{ secrets.GIT_PRIVATE_KEY_BASE64 }} | |
run: | | |
MATCH_GIT_PRIVATE_KEY=$(echo -n "${GIT_PRIVATE_KEY_BASE64}" | base64 -d) | |
export MATCH_GIT_PRIVATE_KEY | |
bundle exec fastlane adhoc | |
- name: Upload Products | |
uses: actions/upload-artifact@v4 | |
with: | |
name: websocket-client-adhoc | |
path: Products |