Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
Added CI to update gradle wrapper jar
Browse files Browse the repository at this point in the history
  • Loading branch information
AnGgIt86 committed Sep 11, 2024
1 parent bd9e116 commit 98dfda4
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update-gradle-wrapper.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Update Gradle wrapper
name: Update Gradle

on:
schedule: [{cron: "0 16 * * *"}]
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/wraper.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Update Gradle wrapper

on:
schedule: [{cron: "0 17 * * *"}]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC

steps:
- name: Checkout code
uses: actions/checkout@v4.1.7

- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'

- name: Build dependencies
run: |
./gradlew wrapper --gradle-version latest --distribution-type bin
- name: Update library
run: |
git config --global user.email jarbull86@gmail.com
git config --global user.name AnGgIt86
git add -f .
git commit -m "Update gradle wrapper in latest version"
git push

0 comments on commit 98dfda4

Please sign in to comment.