mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-22 04:21:56 +03:00
23 lines
500 B
YAML
23 lines
500 B
YAML
|
name: 'Download core artifacts'
|
||
|
description: 'Download core artifacts and extract to dist'
|
||
|
inputs:
|
||
|
path:
|
||
|
description: 'Path to extract'
|
||
|
required: true
|
||
|
|
||
|
runs:
|
||
|
using: 'composite'
|
||
|
steps:
|
||
|
- name: Download tar.gz
|
||
|
uses: actions/download-artifact@v3
|
||
|
with:
|
||
|
name: core
|
||
|
path: .
|
||
|
|
||
|
- name: Extract core artifacts
|
||
|
shell: bash
|
||
|
run: |
|
||
|
mkdir -p ${{ inputs.path }}
|
||
|
tar -xvf dist.tar.gz --directory ${{ inputs.path }}
|
||
|
rm dist.tar.gz
|