Skip to content

Fix: Use absolute path for the report (#735) #10

Fix: Use absolute path for the report (#735)

Fix: Use absolute path for the report (#735) #10

Workflow file for this run

name: Publish
on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+"
- "[0-9]+.[0-9]+.[0-9]+rc[0-9]+"
jobs:
publish:
if: github.repository == 'pytest-dev/pytest-html'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
persist-credentials: false
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '16.x'
- name: Build and Check Package
uses: hynek/build-and-inspect-python-package@v1
- name: Download Package
uses: actions/download-artifact@v3
with:
name: Packages
path: dist
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.pypi_password }}