Updated UI #33
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Distribute | |
on: | |
push: | |
branches: [ develop ] | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'corretto' | |
java-version: '21' | |
- name: Make gradlew executable | |
run: chmod +x ./gradlew | |
- name: Build project | |
run: ./gradlew clean build | |
- name: Push to master branch | |
if: ${{ success() }} | |
uses: ad-m/github-push-action@master | |
with: | |
branch: master | |
force: true | |
github_token: ${{ secrets.PAT }} |