From d37bcab8dc010ab673cd1beb182d28a0bfb3914a Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 16 Aug 2020 11:25:48 -0500 Subject: [PATCH] Adds complete yaml for GH Action --- .github/workflows/main.yml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 74769f7..5f4b43c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,6 +1,14 @@ -- name: Publish package - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@master - with: - user: __token__ - password: ${{ secrets.pypi_password }} +name: Greet Everyone +on: [push] + +jobs: + build: + name: Publish + runs-on: ubuntu-latest + steps: + - name: Publish package + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') + uses: pypa/gh-action-pypi-publish@master + with: + user: __token__ + password: ${{ secrets.pypi_password }}