finally working

This commit is contained in:
Jesse Bannon 2023-02-20 19:45:03 -08:00
parent 038a774ec7
commit b4a9cac35e

View file

@ -1,10 +1,9 @@
name: ytld-sub release name: ytld-sub Release
on: on:
push: push:
# publish only when pushed to master # publish only when pushed to master
branches: branches:
- master - master
pull_request:
jobs: jobs:
pypi-publish: pypi-publish:
name: pypi-publish name: pypi-publish
@ -16,7 +15,8 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0 # Needed for correct commit count. TODO: define once using GH actions
ref: master
- name: Set up Python ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3 uses: actions/setup-python@v3
@ -41,7 +41,7 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
ref: master ref: master # Needed for correct commit count. TODO: define once using GH actions
- name: Set version envs 1/3 - name: Set version envs 1/3
run: | run: |