Legge produserte ebxml signalmeldinger paa kafka #196
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Build and test pull request" | |
on: | |
workflow_dispatch: | |
pull_request: | |
jobs: | |
build: | |
name: "Build and test" | |
runs-on: "ubuntu-20.04" | |
permissions: | |
packages: write | |
repository-projects: write | |
contents: write | |
steps: | |
- uses: "actions/checkout@v4" | |
- uses: "actions/setup-java@v3" | |
with: | |
"java-version": "21" | |
"distribution": "temurin" | |
- name: Cache Gradle | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.gradle/wrapper | |
~/.gradle/caches | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', '**/gradle.properties') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: "Build and tests" | |
run: ./gradlew test build | |
env: | |
ORG_GRADLE_PROJECT_githubUser: x-access-token | |
ORG_GRADLE_PROJECT_githubPassword: ${{ secrets.GITHUB_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |