Skip to content

Commit

Permalink
Combine create-release with pypi-build-and-deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-the1 committed Mar 28, 2024
1 parent 8c2113f commit d493d75
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 29 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: pypi-build-and-deploy
name: build-deploy-and-release

# Only run this workflow when a diepvries/* tag gets pushed
on:
Expand Down Expand Up @@ -29,3 +29,26 @@ jobs:
run: python -m tox -e build
- name: Run tox upload
run: python -m tox -e upload

create-github-release:

runs-on: ubuntu-22.04

permissions:
contents: write

steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Create Github release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
28 changes: 0 additions & 28 deletions .github/workflows/create-release.yml

This file was deleted.

0 comments on commit d493d75

Please sign in to comment.