Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Update on-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cocona20xx authored Dec 31, 2021
1 parent f10cf13 commit f709ac4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,15 @@ jobs:
run: chmod +x ./gradlew
- name: build
run: ./gradlew build
- name: publish release
- name: publish release files
if: ${{ runner.os == 'Linux' && matrix.java == '17' }}
uses: AButler/[email protected]
with:
files: 'build/libs/*;LICENSE'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: publish release package
if: ${{ runner.os == 'Linux' && matrix.java == '17' }}
run: ./gradlew publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f709ac4

Please sign in to comment.