Skip to content

Commit

Permalink
Migrate micromamba setup action (#1024)
Browse files Browse the repository at this point in the history
* migrate from mamba-org/provision-with-micromamba@v16 to mamba-org/setup-micromamba@v1
  • Loading branch information
minhkhul authored Sep 30, 2024
1 parent b9c7144 commit b972605
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/blog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,12 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 3
- uses: mamba-org/provision-with-micromamba@v16
- uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment.yml
micromamba-version: latest
- name: Get Date
id: get-date
run: echo "name=today::$(/bin/date -u '+%Y%m%d')" >> $GITHUB_OUTPUT
shell: bash
- name: Create environment
run: micromamba env create -n www-main-micromamba -f environment.yml
- name: micromamba info
run: |
micromamba info
micromamba list
log-level: debug
cache-environment: true
- name: Install R dependencies
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit b972605

Please sign in to comment.