Skip to content

Commit

Permalink
Install semantic release directly in release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-zippenfenig committed Aug 7, 2024
1 parent 30ad40d commit 851cae1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6,933 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
# Release system depends on:
# - .releaserc.json (make sure to select the right branch)
# - .github/workflows/semantic-pr-check.yml

name: Release

#on:
# push:
# branches:
# - main

# Only run releases manually
on:
workflow_dispatch:

Expand Down Expand Up @@ -33,6 +38,9 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install semantic-release
run: |
npm install --no-save semantic-release conventional-changelog-conventionalcommits semantic-release-pypi
- name: Release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
Loading

0 comments on commit 851cae1

Please sign in to comment.