dda-devops-build/.github/workflows/unstable.yml

33 lines
638 B
YAML
Raw Normal View History

2020-07-03 13:41:03 +00:00
name: unstable
2020-07-03 13:37:06 +00:00
on:
push:
2020-07-03 13:41:03 +00:00
branches:
- master
2020-07-06 07:25:36 +00:00
tags:
2020-07-03 13:41:03 +00:00
- '![0-9]+.[0-9]+.[0-9]+'
2020-07-03 13:37:06 +00:00
jobs:
build:
2020-07-03 13:46:31 +00:00
name: unstable
2020-07-03 13:37:06 +00:00
runs-on: ubuntu-latest
steps:
2020-07-03 13:46:31 +00:00
- 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 unstable release
env:
TWINE_USERNAME: dda
TWINE_PASSWORD: ${{ secrets.PYPI_DDA }}
2020-07-03 13:37:06 +00:00
run: |
2020-07-03 13:46:31 +00:00
pyb publish upload