mirror of
https://github.com/frohoff/ysoserial.git
synced 2026-09-21 22:50:46 +08:00
fix for version
This commit is contained in:
@@ -13,7 +13,9 @@ jobs:
|
||||
with:
|
||||
java-version: '8'
|
||||
distribution: 'adopt'
|
||||
- name: Set version
|
||||
run: mvn versions:set -DnewVersion=${{ github.ref_name }}-SNAPSHOT
|
||||
- name: Publish package
|
||||
run: mvn -B clean deploy -DskipTests -DrepositoryId=github -Dversion=${{ github.ref_name }}-SNAPSHOT
|
||||
run: mvn -B clean deploy -DskipTests -DrepositoryId=github
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user