Skip to content

Commit 1179231

Browse files
committed
ci: WIP
1 parent 9d6acec commit 1179231

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: "Upload Tar Artifact"
3+
description: "Upload an artifact and zips it as {name}.tar.gz"
4+
inputs:
5+
name:
6+
description: "Name for artifact"
7+
required: true
8+
path:
9+
description: "Path to zip"
10+
required: true
11+
runs:
12+
using: "composite"
13+
steps:
14+
- name: 📦 Pack build as tar
15+
run: tar -czf ${{ inputs.name }} ${{ inputs.path }}
16+
shell: bash
17+
18+
- name: ⬆ Upload build
19+
uses: actions/upload-artifact@v3
20+
with:
21+
name: ${{ inputs.name }}
22+
path: ${{ inputs.name }}

0 commit comments

Comments
 (0)