mirror of
https://github.com/frohoff/ysoserial.git
synced 2026-09-27 01:11:53 +08:00
Compare commits
13
Commits
v0.0.6
...
vtesting.a.fix
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
687dec82ad | ||
|
|
73208370c8 | ||
|
|
39432cbe6d | ||
|
|
048a9db46a | ||
|
|
77e3aff82f | ||
|
|
cfd02f9c2e | ||
|
|
2c4d8d815c | ||
|
|
96f5b62749 | ||
|
|
320c299a93 | ||
|
|
efb3f61337 | ||
|
|
094b92ef28 | ||
|
|
42bd6d2586 | ||
|
|
66a012184d |
@@ -0,0 +1,40 @@
|
|||||||
|
name: publish jar
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- "v*.*.*"
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
packages: write
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: actions/setup-java@v3
|
||||||
|
with:
|
||||||
|
java-version: '8'
|
||||||
|
distribution: 'adopt'
|
||||||
|
cache: 'maven'
|
||||||
|
- name: Set version
|
||||||
|
run: mvn versions:set -DnewVersion=${{ github.ref_name }}
|
||||||
|
- name: Build jar
|
||||||
|
run: mvn -B clean package -DskipTests
|
||||||
|
# - name: publish maven jar
|
||||||
|
# run: mvn -B deploy -DskipTests -DrepositoryId=github
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
|
||||||
|
- name: Rename artifact
|
||||||
|
run: mv target/ysoserial-${{ github.ref_name }}-all.jar target/ysoserial-all.jar
|
||||||
|
|
||||||
|
- name: Publish GitHub release
|
||||||
|
uses: softprops/action-gh-release@v1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
files: target/ysoserial-all.jar
|
||||||
Reference in New Issue
Block a user