diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..2ac1d97 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,30 @@ +name: Compile and upload build client + +on: + push: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + permissions: + contents: read + + steps: + - uses: actions/checkout@v4 + - name: Set up java 8 + uses: actions/setup-java@v4 + with: + distribution: "temurin" + java-version: 8 + cache: "gradle" + + - name: Build Glide Client with Gradle Wrapper + run: chmod +x ./gradlew build + + - name: Upload Glide Jar to Actions + uses: actions/upload-artifact@v4.4.3 + with: + name: GlideClient + path: build/libs/GlideClient-Release.jar