Skip to content

Added author and since on methods. #6

Added author and since on methods.

Added author and since on methods. #6

Workflow file for this run

name: "Quick build"
on:
push:
paths:
- "src/**"
- "!src/**/.md"
workflow_dispatch:
workflow_call:
secrets:
SF_DEVHUB_URL:
required: true
jobs:
validate:
uses: navikt/sf-platform/.github/workflows/ciStaticCodeValidation.yml@main
secrets:
SF_DEVHUB_URL: ${{ secrets.SF_DEVHUB_URL }}
quickBuild:
name: "Quickbuild"
needs: validate
runs-on: ubuntu-latest
container: ghcr.io/flxbl-io/sfp:latest
permissions:
contents: read
packages: write
steps:
- name: "Checkout"
uses: actions/checkout@v4
- uses: navikt/crm-workflows-base/.github/actions/authenticateOrg@master
with:
auth-url: ${{ secrets.SF_DEVHUB_URL }}
alias: devhub
setDefaultDevhubUsername: true
- name: "Quickbuild package"
id: quickbuildPackage
run: |
sfp quickbuild --devhubalias devhub --diffcheck --buildnumber ${GITHUB_RUN_ID} --branch ${GITHUB_REF#refs/heads/}
- name: "Publish artifacts"
if: ${{ success() }}
uses: actions/upload-artifact@v4
with:
name: quickbuild-artifacts
path: artifacts
# Upload Flxbl logs
- name: "Publish logs"
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: "logs"
path: .sfpowerscripts
if-no-files-found: ignore
retention-days: 1