summary refs log tree commit diff
path: root/.github/actions/upload_build/action.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/actions/upload_build/action.yml')
-rw-r--r--.github/actions/upload_build/action.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/actions/upload_build/action.yml b/.github/actions/upload_build/action.yml
new file mode 100644
index 0000000..7609946
--- /dev/null
+++ b/.github/actions/upload_build/action.yml
@@ -0,0 +1,19 @@
+name: Upload binary
+description: Uploads a compiled binary
+inputs:
+  SOURCE_FILE:
+    description: 'Path to file to upload'
+    required: true
+    type: string
+  DEST_NAME:
+    description: 'Name to use for the uploaded artifact'
+    required: true
+    type: string
+
+runs:
+  using: "composite"
+  steps:
+    - uses: actions/upload-artifact@v4
+      with:
+        name: ${{ inputs.DEST_NAME }}
+        path: ${{ inputs.SOURCE_FILE }}
\ No newline at end of file