mirror of
https://github.com/alibaba/EasyCV.git
synced 2025-06-03 14:49:00 +08:00
Refine auto release workflow (#13)
* change package name from easycv to pai-easycv * limit publish script to release branch and use ubuntu container
This commit is contained in:
parent
b1f67f9762
commit
df4e54f05c
12
.github/workflows/publish.yaml
vendored
12
.github/workflows/publish.yaml
vendored
@ -1,6 +1,10 @@
|
||||
name: release
|
||||
|
||||
on: push
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "release/**"
|
||||
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
@ -8,14 +12,14 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
build-n-publish:
|
||||
runs-on: [unittest-t4]
|
||||
runs-on: ubuntu-latest
|
||||
if: startsWith(github.event.ref, 'refs/tags')
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python
|
||||
- name: Set up Python 3.6
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '3.x'
|
||||
python-version: '3.6'
|
||||
- name: Build EasyCV
|
||||
run: python setup.py sdist bdist_wheel
|
||||
- name: Publish package
|
||||
|
Loading…
x
Reference in New Issue
Block a user