mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-10-28 19:41:15 +00:00
add requirements.txt
+ attempt to remove poetry from distribution
This commit is contained in:
1 parent
0af1ae1d8e
commit
ed6732e7fd
4 files changed
+95
-8
No files matched your search
@@ -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