Skip to content

Commit

Permalink
Update dependencies in github actions (#570)
Browse files Browse the repository at this point in the history
* Update dependencies in github actions

* Make artifact names unique for each CI run
  • Loading branch information
ianthomas23 authored Dec 17, 2024
1 parent 1efb600 commit fe298ef
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install Conda environment with Micromamba
uses: mamba-org/setup-micromamba@v1
uses: mamba-org/setup-micromamba@v2
with:
environment-file: dev-environment.yml
- name: Install
Expand All @@ -21,7 +21,7 @@ jobs:
run: make -C docs html
- name: Publish
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
uses: actions/checkout@v4

- name: Install Conda environment with Micromamba
uses: mamba-org/setup-micromamba@v1
uses: mamba-org/setup-micromamba@v2
with:
environment-file: dev-environment.yml

Expand All @@ -33,7 +33,7 @@ jobs:
sha256sum * | tee SHA256SUMS
- name: Upload builds
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dist ${{ github.run_number }}
path: ./dist
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
uses: actions/checkout@v4

- name: Install Conda environment with Micromamba
uses: mamba-org/setup-micromamba@v1
uses: mamba-org/setup-micromamba@v2
with:
environment-file: dev-environment.yml
create-args: >-
Expand All @@ -80,7 +80,7 @@ jobs:
name: Install matplotlib pinned
run: micromamba install matplotlib=${{ matrix.mpl-version}}.*

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: dist ${{ github.run_number }}
path: ./dist
Expand Down Expand Up @@ -121,9 +121,9 @@ jobs:

- name: Upload UI Test artifacts
if: always() && matrix.os == 'ubuntu'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ui-test-output
name: ui-test-output-${{ matrix.os }}-${{ matrix.python }}-${{ matrix.mpl-version }}
path: |
ui-tests/playwright-report
ui-tests/test-results
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,10 @@ jobs:
- uses: actions/checkout@v4

- name: Install Conda environment with Micromamba
uses: mamba-org/provision-with-micromamba@main
uses: mamba-org/setup-micromamba@v2
with:
channels: conda-forge
environment-file: false
environment-name: ipympl-release
extra-specs: |
create-args: >-
python=3.9
jupyterlab
yarn
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_galata_references.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Install Conda environment with Micromamba
uses: mamba-org/setup-micromamba@v1
uses: mamba-org/setup-micromamba@v2
with:
environment-file: dev-environment.yml
create-args: >-
Expand Down

0 comments on commit fe298ef

Please sign in to comment.