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