File tree 3 files changed +54
-1
lines changed 3 files changed +54
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish release
2
+
3
+ on :
4
+ workflow_dispatch : {}
5
+ push :
6
+ branches : [ "main" ]
7
+
8
+ permissions :
9
+ contents : write
10
+
11
+ jobs :
12
+ publish-release :
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - uses : actions/checkout@v3
16
+
17
+ - name : Setup JDK 17
18
+ uses : actions/setup-java@v3
19
+ with :
20
+ java-version : ' 17'
21
+ distribution : ' corretto'
22
+
23
+ - name : Build with Gradle
24
+ uses : gradle/gradle-build-action@v2
25
+ with :
26
+ arguments : build
27
+
28
+ - name : Get build info
29
+ run : |
30
+ BUILD_DIR=./lib/build/libs
31
+ ARTIFACT_NAME=$(ls $BUILD_DIR)
32
+ TAG_NAME=$(echo $ARTIFACT_NAME | grep -oP '^.*v[\d]\.[\d]')
33
+ TAG_VERSION=$(echo $TAG_NAME | grep -o 'v.*')
34
+ echo "BUILD_DIR=$BUILD_DIR" >> $GITHUB_ENV
35
+ echo "ARTIFACT_NAME=$ARTIFACT_NAME" >> $GITHUB_ENV
36
+ echo "TAG_NAME=$TAG_NAME" >> $GITHUB_ENV
37
+ echo "TAG_VERSION=$TAG_VERSION" >> $GITHUB_ENV
38
+
39
+ - name : Publish release
40
+ uses : softprops/action-gh-release@v1
41
+ with :
42
+ tag_name : ${{ env.TAG_NAME }}
43
+ name : Juno ${{ env.TAG_VERSION }}
44
+ files : ${{ env.BUILD_DIR }}/${{ env.ARTIFACT_NAME }}
45
+ body_path : ./CHANGELOG.md
Original file line number Diff line number Diff line change
1
+ ### Version
2
+
3
+ v1.0
4
+
5
+ ### Changelog
6
+
7
+ - Perform JWT signature bypass via ` None ` algorithm.
8
+ - Threads for concurrent attack.
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ dependencies {
21
21
22
22
jar {
23
23
archiveBaseName = ' juno'
24
- archiveVersion = ' 1 .0'
24
+ archiveVersion = ' v1 .0'
25
25
duplicatesStrategy(DuplicatesStrategy . EXCLUDE )
26
26
from {
27
27
configurations. runtimeClasspath. collect { it. isDirectory() ? it : zipTree(it) }
You can’t perform that action at this time.
0 commit comments