Skip to content

Commit b2d9ec9

Browse files
committed
updated CI configs
1 parent 9df7e72 commit b2d9ec9

File tree

3 files changed

+20
-3
lines changed

3 files changed

+20
-3
lines changed

.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
runs-on: macOS-latest
66
steps:
77
- name: Checkout
8-
uses: actions/checkout@v1
8+
uses: actions/checkout@v2
99
- name: Select Xcode
1010
run: sudo xcode-select -s /Applications/Xcode_11.4.app
1111
- name: Build and Test SPM
@@ -19,6 +19,6 @@ jobs:
1919
options: --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --security-opt apparmor=unconfined
2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v1
22+
uses: actions/checkout@v2
2323
- name: Build and Test
2424
run: swift test

.github/workflows/deploy.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Publish CocoaPods package
2+
on:
3+
release:
4+
types: [created]
5+
jobs:
6+
publish:
7+
runs-on: macOS-latest
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@v2
11+
- name: Select Xcode
12+
run: sudo xcode-select -s /Applications/Xcode_11.4.app
13+
- name: Publish Pod
14+
run: pod trunk push --allow-warnings
15+
env:
16+
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
17+

ScaleCodec.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'ScaleCodec'
3-
s.version = '0.0.1'
3+
s.version = '0.1.0'
44
s.summary = 'SCALE codec implementation for Swift language'
55

66
s.description = <<-DESC

0 commit comments

Comments
 (0)