Bump version to 1.0.0-ALPHA-37 #64
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: Publish a Swift release | |
on: | |
push: | |
tags: | |
- 'v[0-9]+.[0-9]+.[0-9]+' | |
- 'v[0-9]+.[0-9]+.[0-9]+-ALPHA-[0-9]+' | |
jobs: | |
publish-cocoapods-libraries: | |
runs-on: macos-12 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Xcode | |
uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: '14.1' | |
- name: Publish KMPNativeCoroutinesCore | |
run: pod trunk push KMPNativeCoroutinesCore.podspec --synchronous | |
env: | |
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} | |
- name: Publish KMPNativeCoroutinesAsync | |
run: pod trunk push KMPNativeCoroutinesAsync.podspec --synchronous | |
env: | |
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} | |
- name: Publish KMPNativeCoroutinesCombine | |
run: pod trunk push KMPNativeCoroutinesCombine.podspec --synchronous | |
env: | |
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} | |
- name: Publish KMPNativeCoroutinesRxSwift | |
run: pod trunk push KMPNativeCoroutinesRxSwift.podspec --synchronous | |
env: | |
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} | |
publish-spm-tags: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Publish Async SPM tag | |
uses: ./.github/actions/publish-spm-tag | |
with: | |
package-name: async | |
version-name: ${{ github.ref_name }} | |
- name: Publish Combine SPM tag | |
uses: ./.github/actions/publish-spm-tag | |
with: | |
package-name: combine | |
version-name: ${{ github.ref_name }} | |
- name: Publish RxSwift SPM tag | |
uses: ./.github/actions/publish-spm-tag | |
with: | |
package-name: rxswift | |
version-name: ${{ github.ref_name }} | |
- name: Publish no-deps SPM tag | |
uses: ./.github/actions/publish-spm-tag | |
with: | |
package-name: no-deps | |
version-name: ${{ github.ref_name }} |