mirror of
https://github.com/nkanaev/yarr.git
synced 2025-09-13 18:00:05 +00:00
fix workflow composite action
This commit is contained in:
23
.github/workflows/prepare/action.yml
vendored
Normal file
23
.github/workflows/prepare/action.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
name: Build & Upload
|
||||
inputs:
|
||||
id:
|
||||
description: artifact name
|
||||
required: true
|
||||
cmd:
|
||||
description: command to run
|
||||
required: true
|
||||
out:
|
||||
description: path to output file
|
||||
required: true
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: compile
|
||||
run: ${{ inputs.cmd }}
|
||||
- name: archive
|
||||
run: tar -cvf ${{ out }}.tar ${{ out }}
|
||||
- name: upload
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ id }}
|
||||
path: ${{ out }}.tar
|
Reference in New Issue
Block a user