File tree Expand file tree Collapse file tree 2 files changed +38
-5
lines changed Expand file tree Collapse file tree 2 files changed +38
-5
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Build WDL imports.zip
2
+
3
+ on :
4
+ push :
5
+ paths :
6
+ - ' wdl_tasks/**'
7
+ - ' .github/workflows/package-imports.yml'
8
+ workflow_dispatch :
9
+
10
+ jobs :
11
+ build-zip :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - name : Checkout
15
+ uses : actions/checkout@v4
16
+ with :
17
+ fetch-depth : 0
18
+
19
+ - name : Zip wdl_tasks -> imports.zip
20
+ run : |
21
+ test -d wdl_tasks || { echo "wdl_tasks/ not found"; exit 1; }
22
+ mkdir -p workflows/rna_seq
23
+ # -r recurse, -q quiet, -FS for deterministic-ish zip (strip extra)
24
+ zip -r -q -FS imports.zip wdl_tasks
25
+ mv imports.zip workflows/rna_seq/imports.zip
26
+
27
+ # Optional: upload as an artifact too
28
+ - name : Upload artifact
29
+ uses : actions/upload-artifact@v4
30
+ with :
31
+ name : imports.zip
32
+ path : workflows/rna_seq/imports.zip
33
+
34
+ - name : Commit if changed
35
+ uses : EndBug/add-and-commit@v9
36
+ with :
37
+ add : ' workflows/rna_seq/imports.zip'
38
+ message : ' CI: update imports.zip from wdl_tasks [skip ci]'
You can’t perform that action at this time.
0 commit comments