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

31 lines
592 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-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 -r requirements.txt
2020-07-03 13:46:31 +00:00
- name: build unstable release
env:
TWINE_USERNAME: __token__
2020-07-03 13:46:31 +00:00
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