Skip to content

Commit 3357c82

Browse files
build: publish Snapshots on commit
Signed-off-by: Andreas Reichel <[email protected]>
1 parent f248a9a commit 3357c82

File tree

3 files changed

+16
-11
lines changed

3 files changed

+16
-11
lines changed

.github/workflows/gradle.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ jobs:
2222
runs-on: ubuntu-latest
2323

2424
steps:
25-
- uses: actions/checkout@v3
25+
- uses: actions/checkout
2626
- name: Set up JDK 11
27-
uses: actions/setup-java@v3
27+
uses: actions/setup-java
2828
with:
2929
java-version: '11'
3030
distribution: 'temurin'
3131
- name: Build with Gradle
32-
uses: gradle/gradle-build-action@v2.4.2
32+
uses: gradle/gradle-build-action
3333
with:
34-
arguments: check
34+
arguments: build check publish

.github/workflows/sphinx.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
name: Sphinx Pages
2-
on: [push, workflow_dispatch]
2+
on:
3+
push:
4+
branches: [ "master" ]
5+
pull_request:
6+
branches: [ "master" ]
7+
38
permissions: write-all
49
jobs:
510
docs:

build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -538,12 +538,12 @@ publishing {
538538
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
539539
credentials(PasswordCredentials)
540540
}
541-
maven {
542-
name = "GitHubPackages"
543-
544-
url = uri("https://maven.pkg.github.com/JSQLParser/jsqlparser")
545-
credentials(PasswordCredentials)
546-
}
541+
// maven {
542+
// name = "GitHubPackages"
543+
//
544+
// url = uri("https://maven.pkg.github.com/JSQLParser/jsqlparser")
545+
// credentials(PasswordCredentials)
546+
// }
547547
}
548548
}
549549

0 commit comments

Comments
 (0)