Skip to content

Commit

Permalink
feat: install poetry differently
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinHowarth committed Jan 8, 2020
1 parent 2a0a5a1 commit f5259da
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install poetry
run: curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v2
id: semantic # Need an `id` for output variables
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test_and_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

- name: Install dependencies
run: |
pip install poetry
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
poetry install
- run: |
Expand All @@ -34,7 +34,7 @@ jobs:

- name: Install dependencies
run: |
pip install poetry
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
poetry install
- run: |
Expand All @@ -52,7 +52,7 @@ jobs:

- name: Install dependencies
run: |
pip install poetry
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
poetry install
- run: |
Expand All @@ -70,7 +70,7 @@ jobs:

- name: Install dependencies
run: |
pip install poetry
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
poetry install
- run: |
Expand All @@ -89,7 +89,7 @@ jobs:

- name: Install dependencies
run: |
pip install poetry
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
poetry install
- run: |
Expand Down
4 changes: 1 addition & 3 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
]
}],
["@semantic-release/exec", {
"prepareCmd": "curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python",
}],
["@semantic-release/exec", {
"shell": "bash",
"prepareCmd": "poetry version ${nextRelease.version}",
}],
"@semantic-release/release-notes-generator",
Expand Down

0 comments on commit f5259da

Please sign in to comment.