Skip to content

Commit febbc58

Browse files
committed
workflows: Add token env value and settings path to the command
1 parent ef8863d commit febbc58

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/maven-test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,6 @@ jobs:
2626
settings-path: ${{ github.workspace }} # location for the settings.xml file
2727

2828
- name: Build with Maven
29-
run: mvn -B package --file pom.xml
29+
run: mvn -B package --file pom.xml --settings $GITHUB_WORKSPACE/settings.xml
30+
env:
31+
GITHUB_TOKEN: ${{ github.token }}

src/test/java/org/monora/coolsocket/core/ClientManagementTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,9 @@
1414
import org.monora.coolsocket.core.session.ClosedException;
1515
import org.monora.coolsocket.core.variant.Connections;
1616
import org.monora.coolsocket.core.variant.DefaultCoolSocket;
17-
import org.monora.coolsocket.core.variant.factory.TestConfigFactory;
1817

1918
import java.io.IOException;
2019
import java.net.InetAddress;
21-
import java.net.InetSocketAddress;
2220
import java.net.SocketException;
2321

2422
public class ClientManagementTest

0 commit comments

Comments
 (0)