Skip to content

Commit 8dc31c4

Browse files
Merge pull request #5 from Shivanshu-lambdatest/master
Vulnerability Fixes & Publish CI
2 parents 2fa8f69 + 56138e4 commit 8dc31c4

File tree

2 files changed

+26
-3
lines changed

2 files changed

+26
-3
lines changed

Diff for: .github/workflows/maven-publish.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Publish Tunnel Package to the Maven Central Repository
2+
on:
3+
release:
4+
types: [published]
5+
jobs:
6+
publish:
7+
if: startsWith(github.ref, 'refs/tags/prod-')
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v3
11+
- name: Set up Maven Central Repository
12+
uses: actions/setup-java@v3
13+
with:
14+
java-version: '11'
15+
distribution: 'adopt'
16+
server-id: ossrh
17+
server-username: MAVEN_USERNAME
18+
server-password: MAVEN_PASSWORD
19+
- name: Publish package
20+
run: mvn clean deploy
21+
env:
22+
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
23+
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}

Diff for: pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<groupId>com.github.lambdatest</groupId>
66
<artifactId>lambdatest-tunnel-binary</artifactId>
77
<packaging>jar</packaging>
8-
<version>1.0.10</version>
8+
<version>1.0.11</version>
99
<name>lambdatest-maven-tunnel</name>
1010
<description>LambdaTest tunnel binary in Java</description>
1111
<url>https://www.lambdatest.com</url>
@@ -47,7 +47,7 @@
4747
<dependency>
4848
<groupId>junit</groupId>
4949
<artifactId>junit</artifactId>
50-
<version>4.11</version>
50+
<version>4.13.2</version>
5151
<scope>test</scope>
5252
</dependency>
5353
<dependency>
@@ -64,7 +64,7 @@
6464
<dependency>
6565
<groupId>net.lingala.zip4j</groupId>
6666
<artifactId>zip4j</artifactId>
67-
<version>2.2.7</version>
67+
<version>2.11.1</version>
6868
</dependency>
6969
<dependency>
7070
<groupId>org.apache.httpcomponents</groupId>

0 commit comments

Comments
 (0)