We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d6acec commit 1179231Copy full SHA for 1179231
.github/actions/upload-tar-artifact/action.yml
@@ -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
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