Skip to content

Commit

Permalink
feat:networkpolices
Browse files Browse the repository at this point in the history
  • Loading branch information
yezihack committed Dec 6, 2024
1 parent 3af8f4a commit aa58cc0
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,24 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

# 调试文件路径
- name: Show working directory and files
run: |
pwd
ls -la
# 检查文件是否存在
- name: Verify files exist
run: |
if [ ! -f "k1s" ] || [ ! -f "README.md" ]; then
echo "Error: Required files are missing!"
exit 1
fi
# 打包 k1s 和 README.md 文件
- name: Package files
run: |
mkdir release_files
mkdir -p release_files
cp k1s README.md release_files/
tar -czvf release_files.tar.gz -C release_files .
Expand Down

0 comments on commit aa58cc0

Please sign in to comment.