From f46fc1e9d85d555cd557eefa10e1211f9ad1ceb1 Mon Sep 17 00:00:00 2001 From: xander Date: Thu, 1 Sep 2022 20:23:00 +0100 Subject: CI stuff rename binding functions and format numbers with commas --- .github/workflows/snapshot-publish.yml | 40 ++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/snapshot-publish.yml (limited to '.github') diff --git a/.github/workflows/snapshot-publish.yml b/.github/workflows/snapshot-publish.yml new file mode 100644 index 0000000..612cb40 --- /dev/null +++ b/.github/workflows/snapshot-publish.yml @@ -0,0 +1,40 @@ +name: Gradle CI + +on: + push: + branches: + - '1.19' + paths-ignore: + - 'README.md' + - 'LICENSE' + - '.gitignore' + - '.editorconfig' + - 'changelogs/**' +jobs: + build: + runs-on: ubuntu-latest + name: Publish with gradle + + steps: + - uses: actions/checkout@v3 + - name: Set up JDK + uses: actions/setup-java@v3 + with: + java-version: 17 + distribution: temurin + - uses: actions/cache@v3 + with: + path: | + ~/.gradle/caches + ~/.gradle/wrapper + ./.gradle/loom-cache + key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} + restore-keys: | + ${{ runner.os }}-gradle- + - name: Grant execute permission for gradlew + run: chmod +x gradlew + - name: Build with Gradle + run: ./gradlew publishAllPublicationsToSnapshotsRepository --no-daemon + env: + "xander-repo.username": ${{secrets.REPO_USERNAME}} + "xander-repo.password": ${{secrets.REPO_PASSWORD}} -- cgit