Release #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
schedule: | |
## Schedule the job to run on Apr-1, Aug-1, Dec-1 | |
- cron: '0 0 1 APR,AUG,DEC *' | |
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@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install dependencies | |
run: | | |
sudo apt -y update | |
sudo apt -y install asciidoc | |
- name: Build | |
run: bash ${GITHUB_WORKSPACE}/tools/release.sh ${{ inputs.tag }} | |
- name: Release | |
if: ${{ env.new_version }} | |
uses: softprops/[email protected] | |
with: | |
tag_name: ${{ env.new_version }} | |
name: dracut-${{ env.new_version }} | |
body_path: ${{ github.workspace }}/release.md |