Skip to content

Commit

Permalink
add a release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
RyosukeCla committed May 30, 2023
1 parent 4d3d17e commit 093be8c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
on:
push:
tags:
- 'v*.*.*'
workflow_dispatch:

jobs:
release:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- name: Install
run: gem install cocoapods
- name: Release
run: |
set -eo pipefail
pod lib lint --allow-warnings Nativebrik.podspec
pod trunk push --allow-warnings Nativebrik.podspec
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}

0 comments on commit 093be8c

Please sign in to comment.