Add download README workflow
Some checks are pending
Download README / download (push) Waiting to run
Some checks are pending
Download README / download (push) Waiting to run
This commit is contained in:
@@ -1,20 +1,15 @@
|
|||||||
name: Local Test
|
name: Download README
|
||||||
|
|
||||||
on: [push, workflow_dispatch]
|
on: [push, workflow_dispatch]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
download:
|
||||||
runs-on: ubuntu:host
|
runs-on: ubuntu:host
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
echo "=== 开始任务 ==="
|
echo "开始从你的仓库下载 README..."
|
||||||
date
|
git clone https://gitea.tailnet-68f9.ts.net/ben/modelscope.git /tmp/repo
|
||||||
echo "当前目录:"
|
cd /tmp/repo
|
||||||
pwd
|
echo "README 内容:"
|
||||||
echo "目录内容:"
|
cat README.md
|
||||||
ls -la
|
echo "下载完成!"
|
||||||
echo "README 内容:"
|
|
||||||
cat README.md | head -10
|
|
||||||
echo "=== 任务完成 ==="
|
|
||||||
|
|||||||
Reference in New Issue
Block a user