Skip to content

use correct branch for testing #6

use correct branch for testing

use correct branch for testing #6

Workflow file for this run

name: Generate release for Altinn Studio
on:
# schedule:
# # run every friday at 14:30 UTC (15:30 Oslo time)
# - cron: '30 14 * * 5'
push:
branches:
- chore/update-release-script
workflow_dispatch:
inputs:
draft:
description: 'Create a draft release'
required: true
default: true
type: boolean
jobs:
generate-release:
name: Run release script
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
path: altinn-studio
fetch-tags: true
fetch-depth: 0
- name: Run release script
working-directory: altinn-studio
run: |
bash .github/scripts/release.sh \
--github-token ${{ secrets.GITHUB_TOKEN }} \
--draft ${{ github.event.inputs.draft || true }} # cron job will always be a full release