Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
python: ["3.9", "3.10", "3.11", "3.12"]
CARBONPLAN_DATA: ["gs://carbonplan-data"]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Install Conda environment from environment.yml
uses: mamba-org/setup-micromamba@v2
with:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/pypi-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
runs-on: ubuntu-latest
if: github.repository == 'carbonplan/data'
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: actions/setup-python@v5.4.0
- uses: actions/setup-python@v6.0.0
name: Install Python
with:
python-version: "3.11"
Expand Down Expand Up @@ -62,11 +62,11 @@ jobs:
needs: build-artifacts
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v5.4.0
- uses: actions/setup-python@v6.0.0
name: Install Python
with:
python-version: "3.11"
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v5
with:
name: releases
path: dist
Expand All @@ -80,7 +80,7 @@ jobs:
python -m pip install dist/carbonplan_data*.whl
python -c "from carbonplan_data.utils import get_versions; print(get_versions())"
- name: Publish package to TestPyPI
uses: pypa/gh-action-pypi-publish@v1.12.4
uses: pypa/gh-action-pypi-publish@v1.13.0
with:
password: ${{ secrets.TEST_PYPI_TOKEN }}
repository-url: https://test.pypi.org/legacy/
Expand All @@ -91,12 +91,12 @@ jobs:
if: github.event_name == 'release'
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v5
with:
name: releases
path: dist
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@v1.12.4
uses: pypa/gh-action-pypi-publish@v1.13.0
with:
password: ${{ secrets.PYPI_TOKEN }}
# verbose: true
Loading