Skip to content

Forespørsler

Forespørsler #3

Workflow file for this run

name: Build and publish
on:
push:
branches:
- main
jobs:
build:
name: Build and push
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
repository: navikt/hag-lps-api-client
token: ${{ secrets.GITHUB_TOKEN }}
- name: List repository contents
run: ls -la
- uses: actions/setup-java@v3
with:
java-version: 21
distribution: temurin
cache: gradle
- name: Verify Gradle wrapper checksum
uses: gradle/wrapper-validation-action@v3
- name: Build with Gradle
run: ./gradlew build
env:
ORG_GRADLE_PROJECT_githubPassword: ${{ secrets.GITHUB_TOKEN }}