Skip to content

Ikke bruk RC versjon av kotlinx-serialization #70

Ikke bruk RC versjon av kotlinx-serialization

Ikke bruk RC versjon av kotlinx-serialization #70

Workflow file for this run

name: Release (Github Package Registry)
on:
push:
branches:
- 'main'
permissions:
packages: write
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
cache: 'maven'
- uses: nbadal/action-ktlint-setup@v1
with:
ktlint_version: '0.47.1'
- name: Ktlint
run: ktlint
- name: Run tests
run: mvn clean test
- name: Run Maven release
run: ./.github/release.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}