Compare commits
2 Commits
gitignore_
...
remove_act
| Author | SHA1 | Date | |
|---|---|---|---|
| ac32bae975 | |||
|
|
b181e31a0c |
48
.github/workflows/publish.yml
vendored
48
.github/workflows/publish.yml
vendored
@@ -1,48 +0,0 @@
|
||||
name: Publish to PyPI
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v*"
|
||||
|
||||
jobs:
|
||||
build-publish:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.13"
|
||||
|
||||
- name: Install Poetry
|
||||
uses: snok/install-poetry@v1
|
||||
with:
|
||||
version: 1.8.4
|
||||
|
||||
- name: Install dependencies
|
||||
run: poetry install --no-root --only main
|
||||
|
||||
- name: Build package
|
||||
run: poetry build
|
||||
|
||||
- name: Generate checksums
|
||||
run: |
|
||||
cd dist
|
||||
for file in *; do
|
||||
sha256sum "$file" > "$file.sha256"
|
||||
done
|
||||
|
||||
- name: Publish to PyPI
|
||||
env:
|
||||
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
|
||||
run: poetry publish
|
||||
|
||||
- name: Upload artifacts to GitHub Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: |
|
||||
dist/*
|
||||
18
.github/workflows/release-please.yml
vendored
18
.github/workflows/release-please.yml
vendored
@@ -1,18 +0,0 @@
|
||||
name: Release Please
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
release-please:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Release Please
|
||||
uses: googleapis/release-please-action@v4
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -1,3 +0,0 @@
|
||||
{
|
||||
".": "0.1.1"
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
{
|
||||
"release-type": "python",
|
||||
"package-name": "resrm",
|
||||
"include-v-in-tag": true,
|
||||
"changelog-sections": [
|
||||
{ "type": "feat", "section": "Added", "hidden": false },
|
||||
{ "type": "fix", "section": "Fixed", "hidden": false },
|
||||
{ "type": "refactor", "section": "Changed", "hidden": false },
|
||||
{ "type": "perf", "section": "Changed", "hidden": false },
|
||||
{ "type": "docs", "section": "Documentation", "hidden": false }
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user