Update .forgejo/workflows/action.yml

This commit is contained in:
moonleay 2023-08-12 14:12:10 +02:00
parent 9847192074
commit cf1fed51c3

View file

@ -1,15 +1,15 @@
name: ci
name: Build Gradle project
on:
- push
push:
jobs:
build_and_publish:
build-gradle-project:
runs-on: ubuntu-latest
steps:
- name: Checkout project sources
uses: actions/checkout@v3
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Run shadowJar
run: gradle shadowJar
- name: Run publish
run: gradle publish
- name: Checkout project sources
uses: actions/checkout@v3
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Run build with Gradle Wrapper
run: ./gradlew shadowJar