Skip to content

Commit 0f0bd7f

Browse files
committed
allow to publish artifact
1 parent d0dea70 commit 0f0bd7f

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Package JSONL Files
2+
3+
on:
4+
push:
5+
paths:
6+
- "**.jsonl" # Run this workflow when JSONL files are pushed
7+
workflow_dispatch: # Run this workflow manually
8+
9+
jobs:
10+
build_and_upload_artifact:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout Repository
15+
uses: actions/checkout@v4
16+
17+
- name: Archive JSONL files
18+
run: tar -czf jsonl_files.tar.gz *.jsonl
19+
20+
- name: Upload Artifact
21+
uses: actions/upload-artifact@v4
22+
with:
23+
name: jsonl-files
24+
path: jsonl_files.tar.gz

0 commit comments

Comments
 (0)