Skip to content

Commit 5093078

Browse files
committed
use another third party for releasing
1 parent 310c6ab commit 5093078

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/maven.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@ jobs:
1515
java-version: 1.8
1616
- name: Build with Maven
1717
run: mvn -B package --file pom.xml
18-
- name: Release
19-
uses: fnkr/github-action-ghr@v1
20-
if: startsWith(github.ref, 'refs/tags/')
21-
env:
22-
GHR_PATH: target/lib/
23-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
- name: Upload binaries to release
19+
uses: svenstaro/upload-release-action@v1-release
20+
with:
21+
repo_token: ${{ secrets.GITHUB_TOKEN }}
22+
file: target/
23+
tag: ${{ github.ref }}
24+
overwrite: true

0 commit comments

Comments
 (0)