build changes #15
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: Gradle Assemble | |
on: | |
push: | |
branches: ["main"] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# Checking up | |
- uses: actions/checkout@v3 | |
# Setting up Java 17 | |
- name: JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
# Building | |
- name: Clean Assemble | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: clean assemble | |
env: | |
# GitHub Packages | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# Uploading artifact(s) | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
path: build/libs |