jobs:
# job's id
release:
# job's name
name: build and release
# the type of machine to run the job on
runs-on: ${{ matrix.os }}
# create a build matrix for jobs
strategy:
fail-fast: false
matrix:
python-version: [3.9]
poetry-version: [1.1.7]
os: [windows-latest]
# create steps
steps:
- name: Check out git repository
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Set up Poetry ${{ matrix.poetry-version }}
uses: Gr1N/setup-poetry@v5
with:
poetry-version: ${{ matrix.poetry-version }}
- name: View poetry --help
run: poetry --help
log
Run Gr1N/setup-poetry@v5
with:
poetry-version: 1.1.7
poetry-preview: false
env:
pythonLocation: C:\hostedtoolcache\windows\Python\3.9.5\x64
C:\hostedtoolcache\windows\Python\3.9.5\x64\python.exe D:\a\_temp\9636e696-d5c9-432f-b11c-113b944321e8 --yes --version=1.1.7
Retrieving Poetry metadata
# Welcome to Poetry!
This will download and install the latest version of Poetry,
a dependency and package manager for Python.
It will add the `poetry` command to Poetry's bin directory, located at:
C:\Users\runneradmin\AppData\Roaming\Python\Scripts
You can uninstall at any time by executing this script with the --uninstall option,
and these changes will be reverted.
Installing Poetry (1.1.7)
Installing Poetry (1.1.7): Creating environment
Installing Poetry (1.1.7): Installing Poetry
Installing Poetry (1.1.7): Creating script
Installing Poetry (1.1.7): Done
Poetry (1.1.7) is installed now. Great!
To get started you need Poetry's bin directory (C:\Users\runneradmin\AppData\Roaming\Python\Scripts) in your `PATH`
environment variable.
Alternatively, you can call Poetry explicitly with `C:\Users\runneradmin\AppData\Roaming\Python\Scripts\poetry`.
You can test that everything is set up by executing:
`poetry --version`
Error: ENOENT: no such file or directory, stat 'C:\Users\runneradmin\.local\share\pypoetry'
use
log