Skip to content

Commit cc7b9cb

Browse files
authored
Merge pull request ChartsOrg#5150 from danielgindi/update-workflows
update workflows
2 parents dd9c72e + a264503 commit cc7b9cb

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

.github/workflows/swift.yml renamed to .github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Swift
1+
name: Build
22

33
on:
44
workflow_dispatch:
@@ -77,5 +77,5 @@ jobs:
7777
DEVELOPER_DIR: /Applications/Xcode_14.2.app/Contents/Developer
7878
steps:
7979
- uses: actions/checkout@v3
80-
- name: Carthage Test
80+
- name: Cocoapdos Test
8181
run: pod lib lint

.github/workflows/release.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- "*"
7+
8+
jobs:
9+
build:
10+
runs-on: macos-12
11+
12+
steps:
13+
- uses: actions/checkout@v1
14+
15+
- name: Install Cocoapods
16+
run: gem install cocoapods
17+
18+
- name: Deploy to Cocoapods
19+
run: |
20+
set -eo pipefail
21+
pod lib lint --allow-warnings
22+
pod trunk push --allow-warnings
23+
env:
24+
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}

0 commit comments

Comments
 (0)