We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 470bb10 commit f18a260Copy full SHA for f18a260
.github/workflows/release.yml
@@ -2,8 +2,7 @@ name: Release
2
3
on:
4
release:
5
- types:
6
- - created
+ types: [ created, published ]
7
8
env:
9
DEVELOPER_DIR: /Applications/Xcode_11.4.app/Contents/Developer
@@ -41,6 +40,13 @@ jobs:
41
40
name: rswift-${{ github.event.release.upload_url }}
42
path: .build/release/rswift
43
+ publish-to-cocoapods:
44
+ if: github.event_name == 'release' && github.event.action == 'created'
45
+ needs: release-build
46
+ runs-on: macos-latest
47
+ steps:
48
+ - name: Checkout
49
+ uses: actions/checkout@v2
50
- name: Publish to Cocoapods
51
run: |
52
export POD_VERSION=$(echo $TAG_NAME | cut -c2-)
0 commit comments