Skip to content

Commit

Permalink
Update GitHub actions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
bocklund committed Jan 29, 2024
1 parent 06ad940 commit 61eafcd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0 # fetch the entire repo history, required to guarantee setuptools_scm will pick up tags
- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- run: pip install build twine
- name: Build sdist and wheel
run: python -m build
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
path: |
dist/*.tar.gz
Expand All @@ -36,12 +36,12 @@ jobs:
# upload to PyPI when a GitHub Release is created
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: artifact
path: dist

- uses: pypa/gh-action-pypi-publish@v1.4.2
- uses: pypa/gh-action-pypi-publish@v1.8.11
with:
user: __token__
password: ${{ secrets.PYPI_ESPEI_TOKEN }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
name: Run sphinx-build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
# Development version for development docs
Expand All @@ -35,10 +35,10 @@ jobs:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0 # fetch the entire repo history, required to guarantee versioneer will pick up the tags
- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: pip install --editable .[dev]
Expand All @@ -54,10 +54,10 @@ jobs:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0 # fetch the entire repo history, required to guarantee versioneer will pick up the tags
- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install pycalphad development version
Expand Down

0 comments on commit 61eafcd

Please sign in to comment.