-
Notifications
You must be signed in to change notification settings - Fork 184
31 lines (27 loc) · 885 Bytes
/
cd.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# This workflow sets the package version for user agent
# when pull request to main branch is opened
# it takes pull request name
# and automatically commit it as a package version
# pull request name should always be a version of a new release
name: cd
on:
pull_request:
branches: [ main ]
env:
PACKAGE_VERSION: ${{ github.event.pull_request.title }}
jobs:
set-user-agent:
runs-on: macos-latest-xlarge
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.GH_TOKEN }}
- name: Set User Agent
shell: bash
run: ./.github/scripts/set-user-agent.sh
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Set User Agent
- name: Lint CocoaPods
run: |
pod lib lint --verbose --no-clean --quick --allow-warnings --platforms=ios WalletConnectSwiftV2.podspec