Skip to content

Commit 0be1220

Browse files
authored
ghactions: publish (#9)
1 parent c8b7298 commit 0be1220

4 files changed

Lines changed: 24 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: CI
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
publish:
9+
name: Publish
10+
runs-on: ubuntu-20.04
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: actions/setup-python@v2
14+
with:
15+
python-version: 3.8
16+
- name: Get Poetry
17+
uses: abatilo/actions-poetry@v2.1.4
18+
with:
19+
poetry-version: 1.1.12
20+
- name: Install
21+
run: poetry install
22+
- name: Publish
23+
run: poetry publish --build --username $PYPI_USERNAME --password $PYPI_PASSWORD
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ on:
44
push:
55
branches:
66
- main
7-
tags:
8-
- '**'
97
pull_request: {}
108

119
jobs:

.pre-commit-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Remember to update the version in the pyproject.toml.
21
repos:
32
- repo: https://github.com/timothycrosley/isort
43
rev: 5.10.1

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "esridumpgdf"
33
version = "0.1.0"
44
description = ""
5+
readme = "README.md"
56
authors = ["wchatx <wchatx@gmail.com>"]
67
license = "MIT"
78

0 commit comments

Comments
 (0)