Skip to content

Commit

Permalink
修改 CI.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
WinExp committed Feb 8, 2024
1 parent f66c0b6 commit ac13ce3
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit ac13ce3

Please sign in to comment.