mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-03 20:13:02 +00:00
add requirements.txt
+ attempt to remove poetry from distribution
This commit is contained in:
committed by
Mungai Njoroge
parent
0af1ae1d8e
commit
ed6732e7fd
@@ -62,15 +62,29 @@ jobs:
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: "3.10.11"
|
||||
- name: Install Poetry
|
||||
- name: Create virtualenv
|
||||
run: |
|
||||
pip install poetry
|
||||
python -m venv .venv
|
||||
- name: Activate virtualenv (linux)
|
||||
if: matrix.os == 'ubuntu-20.04'
|
||||
run: |
|
||||
source .venv/bin/activate
|
||||
- name: Activate virtualenv (windows)
|
||||
if: matrix.os == 'windows-2019'
|
||||
run: |
|
||||
.venv\Scripts\Activate
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m poetry install
|
||||
pip install -r requirements.txt
|
||||
# - name: Install Poetry
|
||||
# run: |
|
||||
# pip install poetry
|
||||
# - name: Install dependencies
|
||||
# run: |
|
||||
# python -m poetry install
|
||||
- name: Build server
|
||||
run: |
|
||||
python -m poetry run python manage.py --build
|
||||
python manage.py --build
|
||||
env:
|
||||
SWINGMUSIC_APP_VERSION: ${{ inputs.tag }}
|
||||
- name: Verify Linux build success
|
||||
|
||||
Reference in New Issue
Block a user