Skip to content

Commit

Permalink
Bump and pin pypa/gh-action-pypi-publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
OmeGak committed Aug 21, 2024
1 parent f2abaee commit 1adf169
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/linting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
cache: 'poetry'
cache: "poetry"
- name: Install package
run: |
poetry install
- name: Run linters
env:
NO_COLORS: true # Disable colors in ruff output
NO_COLORS: true # Disable colors in ruff output
run: |
echo "::add-matcher::.github/matchers/ruff.json"
echo "::add-matcher::.github/matchers/unbehead.json"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/releasing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: releasing
on:
push:
tags:
- 'v*'
- "v*"

jobs:
check:
Expand All @@ -25,7 +25,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
cache: 'poetry'
cache: "poetry"
- name: Build package
run: |
poetry build
Expand Down Expand Up @@ -76,12 +76,12 @@ jobs:
steps:
- uses: actions/download-artifact@v4
- name: Publish package to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
uses: pypa/gh-action-pypi-publish@release/v1.9.0
with:
repository-url: https://test.pypi.org/legacy/
packages-dir: wheel/
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
uses: pypa/gh-action-pypi-publish@release/v1.9.0
with:
packages-dir: wheel/
- name: Publish release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
cache: 'poetry'
cache: "poetry"
- name: Install package
run: |
poetry install
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v0.2.2

- Fixed GitHub action to publish package in PyPI.

## v0.2.1

- Fixed maximum recursion depth exceeded when calling the original method of a
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ prefer-active-python = true

[tool.poetry]
name = "indico-patcher"
version = "0.2.1"
version = "0.2.2"
description = "The Swiss Army knife to customize Indico"
repository = "https://github.com/unconventionaldotdev/indico-patcher"
readme = "README.md"
Expand Down

0 comments on commit 1adf169

Please sign in to comment.