Skip to content

Commit

Permalink
chore: fix github action installation fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan-Kim2028 committed Jul 21, 2024
1 parent 029fca6 commit 021d2df
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ jobs:
with:
python-version: '3.x'

- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential libyaml-dev
- name: Install Rye and dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -41,3 +46,17 @@ jobs:
run: |
bump2version patch
git push --follow-tags
- name: Install GitHub CLI
run: |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key C99B11DEB97541F0
sudo apt-add-repository https://cli.github.com/packages
sudo apt update
sudo apt install gh
- name: Create GitHub release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
gh release create $TAG --title "$TAG" --notes "$(awk '/## \['$TAG'\]/,/^## \[/{if(NR!=1)print}' CHANGELOG.md)"

0 comments on commit 021d2df

Please sign in to comment.