forked from DiscordBots/lilJudd
Update .forgejo/workflows/action.yml
This commit is contained in:
parent
9847192074
commit
cf1fed51c3
1 changed files with 12 additions and 12 deletions
|
@ -1,15 +1,15 @@
|
|||
name: ci
|
||||
on:
|
||||
- push
|
||||
name: Build Gradle project
|
||||
|
||||
on:
|
||||
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
|
Loading…
Reference in a new issue