Skip to content

Commit

Permalink
added poetry publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
o-smirnov committed Aug 18, 2024
1 parent bb1eb49 commit e93a2ea
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 3 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/poetry-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Python package
on:
push:
tags:
- "v*.*.*"

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
# This is used to complete the identity challenge
# with sigstore/fulcio when running outside of PRs.
id-token: write

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set PyPI token
run: poetry config pypi-token.pypi ${{secrets.PYPI_TOKEN}}

- name: Publish cabs
run: cd suricat_beams && poetry publish --build

- name: Publish main package
run: poetry publish --build
2 changes: 1 addition & 1 deletion .github/workflows/publish-cargo.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Docker
name: Build docker images

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "suricat-beams"
version = "0.0.4"
version = "0.0.5"
description = "MeerKAT primary beam model handling utilities"
authors = ["Oleg Smirnov <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion suricat_cabs/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "suricat-beams-cabs"
version = "0.0.4"
version = "0.0.5"
description = "MeerKAT primary beam model handling utilities -- Stimela cabs"
authors = ["Oleg Smirnov <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit e93a2ea

Please sign in to comment.