mirror of
https://github.com/frohoff/ysoserial.git
synced 2026-09-27 01:11:53 +08:00
fix for version
This commit is contained in:
@@ -13,7 +13,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
java-version: '8'
|
java-version: '8'
|
||||||
distribution: 'adopt'
|
distribution: 'adopt'
|
||||||
|
- name: Set version
|
||||||
|
run: mvn versions:set -DnewVersion=${{ github.ref_name }}-SNAPSHOT
|
||||||
- name: Publish package
|
- 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:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user