Skip to content

Commit 656563d

Browse files
authored
Merge pull request #154 from NatLabRockies/al/pinning_versions
workflow updates
2 parents 194632e + 00a99b1 commit 656563d

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/gh-pages.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ name: Documentation
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [master]
66
workflow_dispatch:
77

88
jobs:
99
make-pages:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v4
1313
- name: select python version
14-
uses: actions/setup-python@v2
14+
uses: actions/setup-python@v5
1515
with:
1616
python-version: '3.12'
1717
- name: install dependencies
@@ -24,7 +24,7 @@ jobs:
2424
make clean
2525
make html
2626
- name: deploy
27-
uses: peaceiris/actions-gh-pages@v3.6.1
27+
uses: peaceiris/actions-gh-pages@v4
2828
with:
2929
github_token: ${{ secrets.GITHUB_TOKEN }}
3030
publish_dir: ./docs/build/html

.github/workflows/pull_request_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
python-version: ["3.10", "3.11", "3.12"]
1313

1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v4
1616
- name: Set up Python ${{ matrix.python-version }}
17-
uses: actions/setup-python@v2
17+
uses: actions/setup-python@v5
1818
with:
1919
python-version: ${{ matrix.python-version }}
2020
- name: Install dependencies

.github/workflows/python-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ jobs:
1212
deploy:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v4
1616
- name: Set up Python
17-
uses: actions/setup-python@v2
17+
uses: actions/setup-python@v5
1818
with:
19-
python-version: '3.11'
19+
python-version: '3.12'
2020
- name: Install pypa/build
2121
run: >-
2222
python -m pip install build --user
2323
- name: Build a binary wheel and source tarball
2424
run: >-
2525
python -m build --sdist --wheel --outdir dist/
2626
- name: Publish distribution to PyPI
27-
uses: pypa/gh-action-pypi-publish@master
27+
uses: pypa/gh-action-pypi-publish@release/v1
2828
with:
2929
password: ${{ secrets.PYPITOKEN }}

0 commit comments

Comments
 (0)