Skip to content

Commit

Permalink
feat: add pipeline to commit and upload csv outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
fboulnois committed Jul 6, 2024
1 parent b4b5ec0 commit eee77fc
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,20 @@ jobs:
run: docker run --name llm-leaderboard-csv ${{ github.repository }}
- name: Copy Docker container artifacts
run: docker cp llm-leaderboard-csv:/home/docker/csv/ ./
- name: Set release name as current date
run: |
echo "RELEASE_NAME=$(date +'%Y.%m.%d')" >> $GITHUB_ENV
- name: Commit latest artifacts
uses: endbug/add-and-commit@v9
with:
add: csv
default_author: github_actions
message: "auto: update csv outputs to version ${{ env.RELEASE_NAME }}"
tag: ${{ env.RELEASE_NAME }}
- name: Upload the latest artifacts to releases
uses: ncipollo/release-action@v1
with:
artifacts: "csv/*"
makeLatest: true
name: ${{ env.RELEASE_NAME }}
tag: ${{ env.RELEASE_NAME }}

0 comments on commit eee77fc

Please sign in to comment.