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 on:
push:
jobs: jobs:
build_and_publish: build-gradle-project:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout project sources - name: Checkout project sources
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Setup Gradle - name: Setup Gradle
uses: gradle/gradle-build-action@v2 uses: gradle/gradle-build-action@v2
- name: Run shadowJar - name: Run build with Gradle Wrapper
run: gradle shadowJar run: ./gradlew shadowJar
- name: Run publish
run: gradle publish