initial commit
All checks were successful
Build, test and publish the Quarkus libraries / build (push) Successful in 10m12s
All checks were successful
Build, test and publish the Quarkus libraries / build (push) Successful in 10m12s
This commit is contained in:
commit
2d9bd1710c
17 changed files with 940 additions and 0 deletions
43
.gitea/workflows/build.yml
Normal file
43
.gitea/workflows/build.yml
Normal file
|
@ -0,0 +1,43 @@
|
|||
name: Build, test and publish the Quarkus libraries
|
||||
on: [ push, workflow_dispatch ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout the code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up JDK 21
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: '21'
|
||||
cache: 'maven'
|
||||
|
||||
- name: Configure Maven CI/CD settings
|
||||
uses: s4u/maven-settings-action@v3.0.0
|
||||
with:
|
||||
servers: |
|
||||
[{
|
||||
"id": "kvant-gitea",
|
||||
"configuration": {
|
||||
"httpHeaders": {
|
||||
"property": {
|
||||
"name": "Authorization",
|
||||
"value": "token ${{ secrets.REGISTRY_TOKEN }}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}]
|
||||
|
||||
- name: Make maven wrapper executable
|
||||
run: chmod +x mvnw
|
||||
|
||||
- name: Run tests
|
||||
run: ./mvnw verify
|
||||
|
||||
- name: Upload libs to Gitea Maven Registry
|
||||
if: gitea.ref == 'refs/heads/main' || gitea.ref == 'refs/heads/dev'
|
||||
run: ./mvnw deploy -Dmaven.test.skip=true -Dmaven.javadoc.skip=true
|
Loading…
Add table
Add a link
Reference in a new issue