[CI] Fix run manual packaging workflow for tag
To allow packaging any commit the workflow needs to separately checkout the source code from the current code containing the packaging scripts.
This commit is contained in:
parent
9b043cf2c1
commit
73394f1fc5
|
@ -32,7 +32,13 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
# Checkout Deluge source to subdir to enable packaging any tag/commit
|
||||
- name: Checkout Deluge source
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: ${{ github.event.inputs.ref }}
|
||||
path: deluge_src
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
|
@ -74,6 +80,7 @@ jobs:
|
|||
-r requirements.txt
|
||||
|
||||
- name: Install Deluge
|
||||
working-directory: deluge_src
|
||||
run: |
|
||||
python -m pip install .
|
||||
python setup.py install_scripts
|
||||
|
|
Loading…
Reference in New Issue