You've already forked transaction-tracker
Initial project 🎉
This commit is contained in:
22
.github/workflows/publish-release.yml
vendored
Normal file
22
.github/workflows/publish-release.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
name: CI
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Update version in pyproject.toml
|
||||
run: |
|
||||
sed -i -e 's|version = ".*|version = "${{ env.GITHUB_REF_NAME }}"|' pyproject.toml
|
||||
|
||||
- name: Build and publish to private Python package repository
|
||||
uses: JRubics/poetry-publish@v2.1
|
||||
with:
|
||||
repository_name: "hub"
|
||||
repository_url: "https://hub.cybercinch.nz/api/packages/cybercinch/pypi"
|
||||
repository_username: ${{ secrets.G_PYPI_USERNAME }}
|
||||
repository_password: ${{ secrets.G_PYPI_PASSWORD }}
|
||||
Reference in New Issue
Block a user