mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-14 21:31:47 +03:00
332cd3b380
This pr is trying to split `web` and `electron` entries from `core`. It allows more platform-related optimization to be addressed in each entry. We should remove all browser/electron only codes from `core` eventually, this is the very first step for that.
23 lines
499 B
YAML
23 lines
499 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@v4
|
|
with:
|
|
name: web
|
|
path: .
|
|
|
|
- name: Extract core artifacts
|
|
shell: bash
|
|
run: |
|
|
mkdir -p ${{ inputs.path }}
|
|
tar -xvf dist.tar.gz --directory ${{ inputs.path }}
|
|
rm dist.tar.gz
|