Skip to content
This repository was archived by the owner on Aug 9, 2021. It is now read-only.

Commit 0a4d817

Browse files
authored
Add pypy publish on GitHub Release & Pypy badge (#32)
1 parent cbb6afa commit 0a4d817

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

.github/workflows/release.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Release
2+
on:
3+
release:
4+
types: [published]
5+
jobs:
6+
release:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
python-version: [3.8]
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
15+
- name: Set up Python ${{ matrix.python-version }}
16+
uses: actions/setup-python@v2
17+
with:
18+
python-version: ${{ matrix.python-version }}
19+
20+
- name: Install Poetry
21+
uses: dschep/install-poetry-action@v1.2
22+
23+
- run: poetry build
24+
- run: poetry publish --username=__token__ --password=${{ secrets.PYPI_TOKEN }}

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Dublin Region Energy Masterplan (drem)
22

33
[![Codecov](https://codecov.io/gh/codema-dev/drem/branch/master/graph/badge.svg)](https://codecov.io/gh/codema-dev/drem)
4+
[![PyPI](https://img.shields.io/pypi/v/drem.svg)](https://pypi.org/project/drem/)
45

56
## Installation
67

0 commit comments

Comments
 (0)