Update publish.yml
This commit is contained in:
parent
9ca7c60826
commit
cdddec9c02
14
.github/workflows/publish.yml
vendored
14
.github/workflows/publish.yml
vendored
@ -2,7 +2,7 @@ name: Publish SDK
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- '*.*.*''
|
- '*.*.*'
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
@ -20,6 +20,10 @@ jobs:
|
|||||||
- name: Install Cocoapods
|
- name: Install Cocoapods
|
||||||
run: |
|
run: |
|
||||||
gem install cocoapods
|
gem install cocoapods
|
||||||
|
- name: Echo current Version
|
||||||
|
run: |
|
||||||
|
echo ${GITHUB_REF:10}>version
|
||||||
|
echo "Current Version is "${GITHUB_REF:10}
|
||||||
- name: Publish
|
- name: Publish
|
||||||
run: |
|
run: |
|
||||||
sh publish.sh
|
sh publish.sh
|
||||||
@ -29,3 +33,11 @@ jobs:
|
|||||||
BINTARY_USER: ${{ secrets.BINTARY_USER }}
|
BINTARY_USER: ${{ secrets.BINTARY_USER }}
|
||||||
BINTARY_REPO: ${{ secrets.BINTARY_REPO }}
|
BINTARY_REPO: ${{ secrets.BINTARY_REPO }}
|
||||||
BINTARY_APIKEY: ${{ secrets.BINTARY_APIKEY }}
|
BINTARY_APIKEY: ${{ secrets.BINTARY_APIKEY }}
|
||||||
|
- name: Publish legacy
|
||||||
|
run: |
|
||||||
|
sh publish-android-legacy.sh
|
||||||
|
env:
|
||||||
|
BINTARY_USER: ${{ secrets.BINTARY_USER }}
|
||||||
|
BINTARY_REPO: ${{ secrets.BINTARY_REPO }}
|
||||||
|
BINTARY_APIKEY: ${{ secrets.BINTARY_APIKEY }}
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
Reference in New Issue
Block a user