From 89aba24c2571156a6f154daefe26f64316f80797 Mon Sep 17 00:00:00 2001 From: yangyile Date: Sat, 23 Nov 2024 15:40:56 +0700 Subject: [PATCH] =?UTF-8?q?=E7=AE=80=E5=8C=96=E5=8F=91=E5=B8=83=E6=B5=81?= =?UTF-8?q?=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 806bf53..4f21b9f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,17 +14,8 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - # 2. 构建并打包 - - name: Build and package - run: | - mkdir -p dist - # 假设你需要将代码打包成 tar.gz 文件 - tar -czvf dist/release-name-v${{ github.ref_name }}.tar.gz . - - # 3. 创建 Release 并上传源码包 + # 2. 创建 Release 和上传源码包 - name: Create Release uses: softprops/action-gh-release@v2 - with: - files: dist/*.tar.gz # 上传生成的压缩包 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}