Skip to content

Commit 8cc0779

Browse files
committed
update action versions
1 parent 99dad48 commit 8cc0779

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

.github/workflows/python-package-conda.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,13 @@ jobs:
6262
run: |
6363
make coverage
6464
65+
- name: Generate Source Distribution
66+
if: ${{ (matrix.os == 'ubuntu-latest') && (matrix.python-version == '3.11') }}
67+
run: |
68+
pip install build twine
69+
python -m build --sdist .
70+
twine check dist/*
71+
6572
- name: Test Documentation
6673
if: ${{ (matrix.os == 'ubuntu-latest') && (matrix.python-version == '3.11') }}
6774
run: |
@@ -111,8 +118,9 @@ jobs:
111118
112119
- name: Generate Source Distribution
113120
run: |
114-
pip install build
121+
pip install build twine
115122
python -m build --sdist .
123+
twine check dist/*
116124
117125
- name: Build Documentation
118126
run: |
@@ -121,15 +129,16 @@ jobs:
121129
cd ..
122130
123131
- name: GitHub Pages
124-
uses: crazy-max/ghaction-github-pages@v2.5.0
132+
uses: crazy-max/ghaction-github-pages@v4
125133
with:
126134
build_dir: docs/_build/html
127135
jekyll: false
136+
keep_history: true
128137
env:
129138
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
130139

131140
- name: pypi-publish
132-
uses: pypa/gh-action-pypi-publish@v1.4.2
141+
uses: pypa/gh-action-pypi-publish@v1
133142
with:
134143
user: __token__
135144
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)