Skip to content

Commit

Permalink
allow to publish artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
yrobla committed Dec 11, 2024
1 parent d0dea70 commit 0f0bd7f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/generate-artifact.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Package JSONL Files

on:
push:
paths:
- "**.jsonl" # Run this workflow when JSONL files are pushed
workflow_dispatch: # Run this workflow manually

jobs:
build_and_upload_artifact:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Archive JSONL files
run: tar -czf jsonl_files.tar.gz *.jsonl

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: jsonl-files
path: jsonl_files.tar.gz

0 comments on commit 0f0bd7f

Please sign in to comment.