Update main.yml

This commit is contained in:
Alessandro Proto 2023-01-08 01:52:49 +01:00 committed by GitHub
parent 00b0d4b3ba
commit d613c5435c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,6 +3,9 @@ name: Publish release draft
on: on:
workflow_dispatch: workflow_dispatch:
inputs: inputs:
tag:
description: Release tag
required: true
prerelease: prerelease:
description: Prerelease description: Prerelease
type: boolean type: boolean
@ -13,6 +16,8 @@ on:
jobs: jobs:
release: release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
contents: write
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -54,6 +59,7 @@ jobs:
uses: ncipollo/release-action@v1.12.0 uses: ncipollo/release-action@v1.12.0
with: with:
commit: ${{ github.ref_name }} commit: ${{ github.ref_name }}
tag: ${{ inputs.tag }}
allowUpdates: true allowUpdates: true
artifactErrorsFailBuild: true artifactErrorsFailBuild: true
artifacts: "capy64-linux-x64.zip,capy64-windows-x64.zip" artifacts: "capy64-linux-x64.zip,capy64-windows-x64.zip"