mirror of
https://github.com/pypa/gh-action-pypi-publish.git
synced 2024-11-21 16:11:01 -05:00
Fix pre-commit errors
This commit is contained in:
parent
783267be69
commit
e453f8c630
3 changed files with 16 additions and 2 deletions
15
.github/actions/run-docker-container/action.yml
vendored
15
.github/actions/run-docker-container/action.yml
vendored
|
@ -1,25 +1,38 @@
|
|||
---
|
||||
name: 🏃
|
||||
description: >-
|
||||
Run Docker container to
|
||||
upload Python distribution packages to PyPI
|
||||
inputs:
|
||||
user:
|
||||
description: PyPI user
|
||||
required: false
|
||||
password:
|
||||
description: Password for your PyPI user or an access token
|
||||
required: false
|
||||
repository-url:
|
||||
description: The repository URL to use
|
||||
required: false
|
||||
packages-dir:
|
||||
description: The target directory for distribution
|
||||
required: false
|
||||
verify-metadata:
|
||||
description: Check metadata before uploading
|
||||
required: false
|
||||
skip-existing:
|
||||
description: >-
|
||||
Do not fail if a Python package distribution
|
||||
exists in the target package index
|
||||
required: false
|
||||
verbose:
|
||||
description: Show verbose output.
|
||||
required: false
|
||||
print-hash:
|
||||
description: Show hash values of files to be uploaded
|
||||
required: false
|
||||
runs:
|
||||
using: docker
|
||||
image: {{image}}
|
||||
image: "{{image}}"
|
||||
args:
|
||||
- ${{ inputs.user }}
|
||||
- ${{ inputs.password }}
|
||||
|
|
|
@ -11,6 +11,7 @@ on: # yamllint disable-line rule:truthy
|
|||
jobs:
|
||||
build-and-push:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build Docker image
|
||||
|
|
|
@ -31,7 +31,7 @@ repos:
|
|||
args:
|
||||
- --builtin-schema
|
||||
- github-workflows-require-timeout
|
||||
files: ^\.github/workflows/[^/]+$
|
||||
files: ^\.github\/workflows/[^/]+$
|
||||
types:
|
||||
- yaml
|
||||
- id: check-readthedocs
|
||||
|
|
Loading…
Reference in a new issue