dda-devops-build/.github/workflow/release.yml
2020-07-02 11:33:29 +02:00

41 lines
997 B
YAML

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: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: /usr/lib/python3/
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- 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