Skip to content

Commit 683c53c

Browse files
committed
fix publish.yml
1 parent cdb86da commit 683c53c

4 files changed

Lines changed: 5 additions & 10 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,10 @@ jobs:
4444
run: ./gradlew publish --no-daemon --stacktrace
4545
env:
4646
REPOSILITE_TOKEN: ${{secrets.REPOSILITE_TOKEN}}
47-
REPOSILITE_URL: ${{secrets.REPOSILITE_URL}}
48-
REPOSILITE_USER: ${{secrets.REPOSILITE_USER}}
4947
- name: Rebuild on Failure
5048
if: ${{ failure() }}
5149
run: |
52-
./gradlew clean cleanCache
53-
./gradlew publish --no-daemon --stacktrace
50+
./gradlew clean
51+
./gradlew publish --no-daemon --stacktrace --refresh-dependencies
5452
env:
5553
REPOSILITE_TOKEN: ${{secrets.REPOSILITE_TOKEN}}
56-
REPOSILITE_URL: ${{secrets.REPOSILITE_URL}}
57-
REPOSILITE_USER: ${{secrets.REPOSILITE_USER}}

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ publishing {
7575
repositories {
7676
maven {
7777
name = "Reposilite"
78-
url = URI((System.getenv("REPOSILITE_URL") ?: "default").toString())
78+
url = URI("https://reposilite.varilx.de/Varilx")
7979
credentials {
80-
username = System.getenv("REPOSILITE_USER")
80+
username = "Dario"
8181
password = System.getenv("REPOSILITE_TOKEN")
8282
}
8383
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
project_version = 0.0.3
1+
project_version = 0.0.5

src/test/java/de/varilx/test/SQLiteTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ public void testSQL() throws ExecutionException, InterruptedException {
2121
type: SQLITE
2222
SQL:
2323
connection-string: "jdbc:sqlite:sample.db"
24-
2524
"""));
2625

2726
SQLService service = (SQLService) Service.load(configuration, this.getClass().getClassLoader());

0 commit comments

Comments
 (0)