Skip to content

Commit 8ecde90

Browse files
committed
Improve GitHub Action
1 parent 69acf57 commit 8ecde90

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

.github/workflows/release_actions.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,17 @@ jobs:
2121
bintrayUser: ${{ secrets.bintrayUsername }}
2222
bintrayApiKey: ${{ secrets.bintrayApiKey }}
2323
run: ./gradlew bintrayUpload
24-
- name: Publish (GitHub Packages)
25-
env:
26-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27-
BUILD_NUMBER: 0 # Releases are always major.minor.revision_0
28-
run: ./gradlew publish
24+
#- name: Publish (GitHub Packages)
25+
# env:
26+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
# run: ./gradlew publish
2928
- name: Zip files
3029
working-directory: ./build/libs
3130
run: zip release-${{ github.event.release.tag_name }} *.jar
3231
- name: Upload to release
3332
uses: AButler/upload-release-assets@v2.0
3433
with:
35-
files: './build/libs/release-${{ github.event.release.tag_name }}.zip'
34+
files: 'build/libs/release-${{ github.event.release.tag_name }}.zip;build/libs/*.jar'
3635
repo-token: ${{ secrets.GITHUB_TOKEN }}
3736
sendMessage:
3837
needs: [publish]

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins{
77
id 'com.github.johnrengelman.shadow' version '5.2.0'
88
}
99

10-
def ver = new Version(major: 5, minor: 1, revision: 3)
10+
def ver = new Version(major: 5, minor: 1, revision: 4)
1111

1212
group = "org.botblock"
1313
version = "$ver"

wiki/Changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ This page lists all versions of JavaBotBlockAPI and the changes being made.
99
1010
## v5
1111

12+
### 5.1.4
13+
- Test release for upload to release-action.
14+
1215
### 5.1.3
1316
- Dependencies updated:
1417
- JDA: `4.1.0_99` to `4.1.0_100`

0 commit comments

Comments
 (0)