Skip to content

Commit

Permalink
feat: add pipeline to create and copy csv outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
fboulnois committed Jul 6, 2024
1 parent 5f9cbb1 commit b4b5ec0
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,24 @@ on:
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout the code
uses: actions/checkout@v4
- name: Remove existing artifacts
run: rm csv/*
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build Docker image
uses: docker/build-push-action@v6
with:
context: .
load: true
tags: ${{ github.repository }}
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Run Docker image
run: docker run --name llm-leaderboard-csv ${{ github.repository }}
- name: Copy Docker container artifacts
run: docker cp llm-leaderboard-csv:/home/docker/csv/ ./

0 comments on commit b4b5ec0

Please sign in to comment.