From fdb42a2d0b5b28fa0ca4b6b2ecd43e2fd3a01dfd Mon Sep 17 00:00:00 2001 From: Mqx <62719703+Mqxx@users.noreply.github.com> Date: Fri, 5 Apr 2024 22:27:06 +0200 Subject: [PATCH] Create new_release.yml --- .github/workflows/new_release.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/new_release.yml diff --git a/.github/workflows/new_release.yml b/.github/workflows/new_release.yml new file mode 100644 index 0000000..6ba6be7 --- /dev/null +++ b/.github/workflows/new_release.yml @@ -0,0 +1,29 @@ +name: 'New release' + +on: + workflow_dispatch: + inputs: + version: + description: 'Version for new release.' + type: string + required: true + +permissions: + contents: write + +jobs: + release: + name: 'Draft new release (${{inputs.version}})' + runs-on: ubuntu-latest + + steps: + - name: 'Setup Repository (${{github.event.repository.name}})' + uses: actions/checkout@v4 + + - name: 'Create new release (${{inputs.version}})' + uses: ncipollo/release-action@v1 + with: + artifacts: 'binaries' + allowUpdates: false + makeLatest: true + tag: ${{inputs.version}}