Skip to content

Legg til caching i github workflow #115

Legg til caching i github workflow

Legg til caching i github workflow #115

Workflow file for this run

name: Release Drafter
on:
push:
branches:
- main
pull_request:
types: [opened, reopened, synchronize]
env:
publish: ${{github.ref == 'refs/heads/main' && !startsWith(github.ref, 'refs/dependabot')}}
permissions:
contents: write
id-token: write
packages: write
pull-requests: write
jobs:
echo:
name: "Echo environment"
runs-on: ubuntu-latest
steps:
- run: |
echo ${{ github }}
echo ${{ github.ref }}
echo ${{ github.base_ref }}
echo ${{ github.head_ref }}
echo ${{ env.GITHUB_ACTOR }}
build-release:
name: "Build and release package"
uses: navikt/bidrag-workflow/.github/workflows/maven_release_drafter.yaml@main
secrets: inherit
with:
publish: true