Skip to content

Build (rv=v0.4.887) #4554

Build (rv=v0.4.887)

Build (rv=v0.4.887) #4554

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Build
run-name: Build (rv=${{ inputs.release_version || '---' }})
on:
push:
workflow_dispatch:
inputs:
upload_release_file:
type: boolean
default: false
required: true
description: Upload generated release file as an artifact.
release_version:
type: string
default: ""
required: true
description: Use this string as version in the application.
jobs:
build:
name: Test & Build
# Do it on github's own repo, this action is very simple and takes no time
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Make release file
run: |
if test -e Makefile; then
make release-file
fi
- name: Info
env:
RV: "${{ github.event.inputs.release_version }}"
run: |
echo "Release version: $RV"
- name: Upload release artifact
if: "${{ github.event.inputs.upload_release_file == 'true' }}"
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: release
path: release.tar.gz