diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 79019ad..453fb52 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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"