Skip to content

Commit

Permalink
Add draft-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
insolor committed Apr 25, 2023
1 parent 9876457 commit 4c8e500
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Draft Release

on:
workflow_dispatch:
inputs:
version:
description: 'Version'
required: true

jobs:
build:
name: Draft Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
- name: Build project
run: |
poetry build
- name: Release
uses: softprops/action-gh-release@v1
with:
files: dist/*
tag_name: ${{ github.event.inputs.version }}
draft: true

0 comments on commit 4c8e500

Please sign in to comment.