Skip to content

Commit

Permalink
算了,拉倒吧,最后试一次
Browse files Browse the repository at this point in the history
  • Loading branch information
ForteScarlet committed Mar 21, 2024
1 parent 97d0633 commit 87cf95c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ jobs:
- name: Upload package
uses: actions/upload-artifact@v3
with:
name: package-exe
path: 'build/compose/binaries/main/*/StopBonus-${{ github.ref_name }}.*'
name: distributions
path: 'build/compose/binaries/main/*/StopBonus-*.*'
retention-days: 3

create-release:
Expand All @@ -56,13 +56,15 @@ jobs:
- name: Download artifact
uses: actions/download-artifact@v3
with:
name: package-exe
name: distributions
path: ./distributions/

# Create gitHub release
- name: Create Github Release
uses: softprops/action-gh-release@v2
with:
files: StopBonus-${{ github.ref_name }}.exe
files: ./distributions/**
# files: StopBonus-${{ github.ref_name }}.exe
token: ${{ secrets.PUSH_TOKEN }}
# generate_release_notes: true

2 changes: 2 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
kotlin.code.style=official
#org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
org.gradle.jvmargs=-Xmx2048M -Dfile.encoding=UTF-8 -Dkotlin.daemon.jvm.options\="-Xmx2048M"
org.gradle.parallel=true
org.gradle.daemon=true

0 comments on commit 87cf95c

Please sign in to comment.