add forgejo actions and remove paperyml
Some checks failed
Build / build (push) Failing after 35s

This commit is contained in:
unurled 2024-09-07 15:10:14 +02:00
parent 74fb76248e
commit f7828281ad
Signed by: unurled
GPG key ID: EFC5F5E709B47DDD
3 changed files with 51 additions and 20 deletions

View file

@ -0,0 +1,22 @@
name: Build
run-name: ${{ github.actor }} is building
on: [ pull_request ]
jobs:
build:
runs-on: docker
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: 'gradle'
- name: build
run: gradle build
- name: sonar send
run: gradle sonar -Dsonar.token=${{ secrets.SONARQUBE_TOKEN }}
- uses: actions/upload-artifact@v3
with:
name: build
path: build/libs/

View file

@ -0,0 +1,29 @@
name: Build
run-name: ${{ github.actor }} is building
on: [ push ]
jobs:
build:
runs-on: docker
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: 'gradle'
- name: build
run: gradle build
- name: sonar send
run: gradle sonar -Dsonar.token=${{ secrets.SONARQUBE_TOKEN }}
- name: publish
run: gradle publish
env:
ORG_GRADLE_PROJECT_repounurledmeUsername: ${{ secrets.USERNAME }}
ORG_GRADLE_PROJECT_repounurledmePassword: ${{ secrets.PASSWORD }}
- uses: actions/upload-artifact@v3
with:
name: build
path: build/libs/