Update conda-incubator/setup-miniconda action to v3 #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Automated Error Analysis | |
on: | |
push: | |
branches: | |
- main # or the branch you want to trigger this on | |
env: | |
ARTEFECTS: "automated-error-analysis" | |
GITHUB_TOKEN: ${{ secrets.ORG_REPO_TOKEN }} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Download and extract artefacts | |
run: | | |
wget http://files.sri.inf.ethz.ch/imagenet-error-analysis/artefacts.tar.gz | |
tar -xvzf artefacts.tar.gz | |
- name: Set up Conda | |
uses: conda-incubator/setup-miniconda@v3 | |
with: | |
python-version: '3.8' | |
- name: Check out artefacts | |
uses: actions/checkout@v4 | |
with: | |
repository: ${{ github.repository_owner }}/${{ env.ARTEFECTS }} | |
token: ${{ secrets.ORG_REPO_TOKEN }} | |
path: ${{ env.ARTEFECTS }} | |
- name: Setup github user email and name | |
run: | | |
git config --global user.email "action@github.com" | |
git config --global user.name "GitHub Action" |