Skip to content

Commit

Permalink
bump actions/checkout from 3 to 4; fix pypa/gh-action-pypi-publish wa…
Browse files Browse the repository at this point in the history
…rnings (#320)

* bump actions/checkout from 3 to 4
* fix warnings in pypa/gh-action-pypi-publish (follow up to #316)
  • Loading branch information
2bndy5 authored Feb 2, 2024
1 parent 764fc8f commit 1c2b4a3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- nox-sessions: 'mypy pylint'
python-version: '3.12'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Node.js
if: contains(matrix, 'node-version')
uses: actions/setup-node@v4
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
- '16.x'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
# Need full history to determine version number.
fetch-depth: 0
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
sphinx-version: 'sphinx7'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
Expand Down Expand Up @@ -205,7 +205,7 @@ jobs:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Download all artifacts
uses: actions/download-artifact@v4
with:
Expand Down Expand Up @@ -270,15 +270,15 @@ jobs:
with:
user: __token__
password: ${{ secrets.pypi_test_token }}
repository_url: https://test.pypi.org/legacy/
repository-url: https://test.pypi.org/legacy/
if: ${{ ! startsWith(github.ref, 'refs/tags/v') }}
- name: Publish to PyPI (main server)
uses: pypa/gh-action-pypi-publish@2f6f737ca5f74c637829c0f5c3acd0e29ea5e8bf # v1.8.11
with:
user: __token__
password: ${{ secrets.pypi_token }}
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
- uses: actions/checkout@v3
- uses: actions/checkout@v4
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
- name: Create a Github Release
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ def run(self):
name="sphinx_immaterial",
description="Adaptation of mkdocs-material theme for the Sphinx documentation system",
long_description=pathlib.Path("README.rst").read_text(encoding="utf-8"),
long_description_content_type="text/x-rst",
author="Jeremy Maitin-Shepard",
author_email="jeremy@jeremyms.com",
url="/~https://github.com/jbms/sphinx-immaterial",
Expand Down

0 comments on commit 1c2b4a3

Please sign in to comment.