finally working
This commit is contained in:
parent
038a774ec7
commit
b4a9cac35e
1 changed files with 4 additions and 4 deletions
8
.github/workflows/release.yaml
vendored
8
.github/workflows/release.yaml
vendored
|
|
@ -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: |
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue