mirror of
https://gitee.com/eolink_admin/postcat.git
synced 2024-12-02 11:47:57 +08:00
test upload
This commit is contained in:
parent
40c5b40943
commit
60340c8e18
15
.github/workflows/upload.yml
vendored
15
.github/workflows/upload.yml
vendored
@ -24,10 +24,23 @@ jobs:
|
||||
with:
|
||||
node-version: '16'
|
||||
|
||||
- name: Get yarn cache directory path
|
||||
id: yarn-cache-dir-path
|
||||
run: echo "::set-output name=dir::$(yarn cache dir)"
|
||||
|
||||
- uses: actions/cache@v3
|
||||
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
|
||||
with:
|
||||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
|
||||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-yarn-
|
||||
- name: Install
|
||||
run: yarn install --frozen-lockfile
|
||||
|
||||
- name: Release for Linux
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
run: |
|
||||
npm install --global qiniu
|
||||
echo "${{ secrets.QINIU_ENV_JS }}" > qiniu_env.js
|
||||
node upload.js
|
||||
env:
|
||||
|
Loading…
Reference in New Issue
Block a user