Skip to content

Commit

Permalink
updated CI configs
Browse files Browse the repository at this point in the history
  • Loading branch information
ypopovych committed Oct 13, 2020
1 parent 9df7e72 commit b2d9ec9
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: macOS-latest
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v2
- name: Select Xcode
run: sudo xcode-select -s /Applications/Xcode_11.4.app
- name: Build and Test SPM
Expand All @@ -19,6 +19,6 @@ jobs:
options: --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --security-opt apparmor=unconfined
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v2
- name: Build and Test
run: swift test
17 changes: 17 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Publish CocoaPods package
on:
release:
types: [created]
jobs:
publish:
runs-on: macOS-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Select Xcode
run: sudo xcode-select -s /Applications/Xcode_11.4.app
- name: Publish Pod
run: pod trunk push --allow-warnings
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}

2 changes: 1 addition & 1 deletion ScaleCodec.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'ScaleCodec'
s.version = '0.0.1'
s.version = '0.1.0'
s.summary = 'SCALE codec implementation for Swift language'

s.description = <<-DESC
Expand Down

0 comments on commit b2d9ec9

Please sign in to comment.