File: release.yml

package info (click to toggle)
dracut 110-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,356 kB
  • sloc: sh: 24,895; ansic: 5,236; makefile: 346; perl: 186; python: 48; javascript: 19
file content (27 lines) | stat: -rw-r--r-- 675 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
name: Release

on:  # yamllint disable-line rule:truthy
    schedule:
        ## Schedule the job quarterly to run on Feb-1, May-1, Aug-1, and Nov-1
        - cron: '0 0 1 FEB,MAY,AUG,NOV *'
    workflow_dispatch:
        inputs:
            tag:
                description: "release version number (3 digits)"
                required: true

permissions:
    contents: write

jobs:
    release:
        runs-on: ubuntu-latest
        steps:
            - name: Checkout
              uses: actions/checkout@v6
              with:
                  fetch-depth: 0

            - name: Build
              run: bash ${GITHUB_WORKSPACE}/tools/release.sh ${{ inputs.tag }}