Skip to content

Commit

Permalink
Action fix (#6)
Browse files Browse the repository at this point in the history
* Try micromamba action

* Change trigger

* Reset trigger
  • Loading branch information
atharva-2001 authored Jan 21, 2025
1 parent d0470bd commit b39c86d
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions .github/workflows/nist_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,13 @@ on:
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}

jobs:
build:

defaults:
defaults:
run:
shell: bash -l {0}

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: act10ns/slack@v2.0.0
with:
Expand All @@ -25,27 +23,25 @@ jobs:
if: always()

- name: Checkout github repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Configure git
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "actions@github.com"
- name: Clone tardis-sn/carsus
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: tardis-sn/carsus
path: carsus

- name: Setup environment
uses: conda-incubator/setup-miniconda@v2
uses: mamba-org/setup-micromamba@v2
with:
miniforge-variant: Mambaforge
miniforge-version: latest
environment-file: carsus/carsus_env3.yml
activate-environment: carsus
use-mamba: true
environment-file: carsus/conda-linux-64.lock
init-shell: bash
environment-name: carsus

- name: Install carsus
id: install_carsus
Expand Down

0 comments on commit b39c86d

Please # to comment.