From ac13ce3dba613ca5b6ba269fac66b4e7d10c10b3 Mon Sep 17 00:00:00 2001 From: WinExp <1450422389@qq.com> Date: Thu, 8 Feb 2024 22:21:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20CI.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/CI.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index b41d355..d83935d 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -64,20 +64,14 @@ jobs: uses: actions/upload-artifact@v3 with: name: "${{ steps.mod_info.outputs.mod_name }} ${{ steps.mod_info.outputs.mod_version }}.${{ steps.get_commit_count.outputs.commit_count }}+${{ steps.get_short_sha.outputs.short_sha }}" - path: | - LICENSE - build/libs/*.jar - build/tmp/submods/META-INF/jars/*.jar + path: build/libs/*.jar - name: Create Github release if: contains(github.event.head_commit.message, '[publish skip]') == false && contains(github.event.ref, 'refs/heads/exp') == false uses: softprops/action-gh-release@v1 with: prerelease: true - files: | - LICENSE - build/libs/*.jar - build/tmp/submods/META-INF/jars/*.jar + files: build/libs/*.jar name: "[CI#${{ github.run_number }}]${{ steps.mod_info.outputs.mod_name }} ${{ steps.mod_info.outputs.mod_version }}.${{ steps.get_commit_count.outputs.commit_count }}+${{ steps.get_short_sha.outputs.short_sha }}" tag_name: "${{ github.ref_name }}.${{ github.run_number }}" target_commitish: ${{ github.event.ref }}