Skip to content

Commit

Permalink
Added publish-to-pypi to github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
eranco74 committed Apr 26, 2020
1 parent 3199fd1 commit 2ad4aaf
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Releases

on:
push:
tags:
- '*'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v1
- name: Set up Python 2.7
uses: actions/setup-python@v1
with:
python-version: 2.7.17
- name: Install dependencies
run: |
python -m pip install --upgrade pip
sudo pip install strato-skipper
mkdir -p ~/.docker
echo "{}" > ~/.docker/config.json
touch ${HOME}/.gitconfig
- name: test
run: |
skipper make all
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.pypi_password }}

0 comments on commit 2ad4aaf

Please sign in to comment.