diff options
author | xander <xander@isxander.dev> | 2022-09-01 20:23:00 +0100 |
---|---|---|
committer | xander <xander@isxander.dev> | 2022-09-01 20:23:00 +0100 |
commit | f46fc1e9d85d555cd557eefa10e1211f9ad1ceb1 (patch) | |
tree | 123fa86dcf4f27a63f0398ca4726e5876f5d04a2 /.github | |
parent | 627c45bd6cfa7cce9e048d7681029c812a45f1cc (diff) | |
download | YetAnotherConfigLib-f46fc1e9d85d555cd557eefa10e1211f9ad1ceb1.tar.gz YetAnotherConfigLib-f46fc1e9d85d555cd557eefa10e1211f9ad1ceb1.tar.bz2 YetAnotherConfigLib-f46fc1e9d85d555cd557eefa10e1211f9ad1ceb1.zip |
CI stuff
rename binding functions and format numbers with commas
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/snapshot-publish.yml | 40 |
1 files changed, 40 insertions, 0 deletions
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}} |