-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ececf68
commit 44718a8
Showing
3 changed files
with
66 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,11 +26,23 @@ jobs: | |
uses: snok/[email protected] | ||
- name: configure pypi credentials | ||
run: poetry config pypi-token.pypi "${{ secrets.PYPI_API_KEY }}" | ||
- name: Publish package | ||
- name: Publish core package | ||
run: poetry publish --build | ||
- name: install dependencies | ||
run: poetry install | ||
- name: update metadata | ||
env: | ||
DATABASE_URL: ${{ secrets.OPENSTATES_DATABASE_URL }} | ||
run: poetry run os-initdb | ||
# Add steps for metadata package | ||
- name: Change directory to metadata | ||
run: cd openstates/metadata | ||
|
||
- name: install dependencies for metadata | ||
run: poetry install | ||
|
||
- name: configure pypi credentials for metadata package | ||
run: poetry config pypi-token.pypi "${{ secrets.PYPI_API_KEY }}" | ||
|
||
- name: Publish metadata package | ||
run: poetry publish --build |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[tool.poetry] | ||
name = "openstates-metadata" | ||
version = "0.1.0" | ||
description = "Openstates metadata" | ||
authors = ["Alex Obaseki <[email protected]>"] | ||
license = "MIT" | ||
|
||
|
||
[tool.poetry.dependencies] | ||
python = "^3.9" | ||
attr = "^0.3.2" | ||
attrs = "^24.2.0" | ||
|
||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" |