This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Doric/.github/workflows/publish.yml
Workflow config file is invalid. Please check your config file: yaml: line 5: found unexpected end of stream
2020-03-24 20:33:35 +08:00

32 lines
765 B
YAML

name: Publish SDK
on:
push:
tags:
- '*.*.*''
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- name: setup JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- uses: actions/setup-node@v1
with:
node-version: 10
- name: Setup
run: sh setup.sh
- name: Install Cocoapods
run: |
gem install cocoapods
- name: Publish
run: |
sh publish.sh
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
BINTARY_USER: ${{ secrets.BINTARY_USER }}
BINTARY_REPO: ${{ secrets.BINTARY_REPO }}
BINTARY_APIKEY: ${{ secrets.BINTARY_APIKEY }}