2.5.2 #172
Workflow file for this run
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: Create new release | |
on: | |
release: | |
types: [created] | |
permissions: | |
contents: read | |
jobs: | |
test: | |
name: Run Tests | |
runs-on: macos-13 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Select Xcode 14 | |
run: sudo xcode-select --switch /Applications/Xcode_14.3.1.app | |
- name: Test | |
run: make XC_LOG=tests tests | |
- name: Attach Xcode logs | |
if: '!cancelled()' | |
uses: actions/upload-artifact@v4 | |
with: | |
name: xcode-tests-logs | |
path: "*-tests.log" | |
release: | |
needs: [test] | |
runs-on: macos-13 | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Select Xcode 14 | |
run: sudo xcode-select --switch /Applications/Xcode_14.3.1.app | |
- name: Build and upload XCFrameworks, recreate tag | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} | |
run: make XC_LOG=archive version=${{ github.event.release.tag_name }} github | |
- name: Attach Xcode logs | |
if: '!cancelled()' | |
uses: actions/upload-artifact@v4 | |
with: | |
name: xcode-archive-logs | |
path: "*-archive.log" |