fix the build #3

This commit is contained in:
jem 2020-07-02 13:04:33 +02:00
parent 6679a6343a
commit 4180fb866a
2 changed files with 6 additions and 35 deletions

View file

@ -1,29 +0,0 @@
name: release dev
on:
push:
ignore-tags: '[0-9]+.[0-9]+.[0-9]'
jobs:
dev-release:
name: release dev
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use python 3.x
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: install dependencies
run: |
python -m pip install --upgrade pip
pip install pybuilder ddadevops deprecation setuptools
- name: build em
env:
TWINE_USERNAME: dda
TWINE_PASSWORD: ${{ secrets.PYPI_DDA }}
run: |
pyb publish upload

View file

@ -1,11 +1,10 @@
name: release prod
name: build
on:
push:
tags: '[0-9]+.[0-9]+.[0-9]'
push
jobs:
prod-release:
name: release prod
build:
name: build&upload
runs-on: ubuntu-latest
steps:
@ -28,7 +27,8 @@ jobs:
run: |
pyb publish upload
- name: Create Release
- name: Create GH Release
if: github.tag='[0-9]+.[0-9]+.[0-9]'
id: create_release
uses: actions/create-release@v1
env: