Skip to content

Create new release

Create new release #7

Workflow file for this run

name: Create new release
on:
workflow_dispatch:
inputs:
release_tag:
description: "Release tag"
required: true
release_name:
description: "Release name"
required: true
run-tests:
description: "Run all tests (true/false)"
required: true
jobs:
release:
runs-on: ubuntu-20.04
outputs:
url: ${{ steps.create_release.outputs.upload_url }}
steps:
- name: Release creation
uses: actions/create-release@v1
id: create_release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.event.inputs.release_tag }}
release_name: ${{ github.event.inputs.release_name }}
body: |
Please complete description
- name: print output
id: print-output
run: "echo ${{ steps.create_release.outputs.upload_url }}"
shell: bash
ubuntu:
name: Release - Ubuntu
needs: release
uses: ./.github/workflows/ubuntu.yml
with:
run-tests: ${{ fromJSON(inputs.run-tests) }}