mirror of
https://github.com/frohoff/ysoserial.git
synced 2026-09-21 22:50:46 +08:00
fix attempt
This commit is contained in:
@@ -13,15 +13,16 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
java-version: '8'
|
java-version: '8'
|
||||||
distribution: 'adopt'
|
distribution: 'adopt'
|
||||||
- name: set version
|
- name: Set version
|
||||||
run: mvn versions:set -DnewVersion=${{ github.ref_name }}-SNAPSHOT
|
run: mvn versions:set -DnewVersion=${{ github.ref_name }}-SNAPSHOT
|
||||||
- name: build
|
- name: Build jar
|
||||||
run: mvn -B clean package -DskipTests
|
run: mvn -B clean package -DskipTests
|
||||||
# - name: publish maven jar
|
# - name: publish maven jar
|
||||||
# run: mvn -B deploy -DskipTests -DrepositoryId=github
|
# run: mvn -B deploy -DskipTests -DrepositoryId=github
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: publish release
|
- name: Publish GitHub release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
|
tag_name: ${{ github.ref_name }}
|
||||||
files: target/ysoserial-${{ github.ref_name }}-SNAPSHOT-all.jar
|
files: target/ysoserial-${{ github.ref_name }}-SNAPSHOT-all.jar
|
||||||
Reference in New Issue
Block a user