Skip to content

Commit 3ea540e

Browse files
committed
👷 chore: ci file to update changelog was updated (#215)
1 parent 95b98f2 commit 3ea540e

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/update-changelog.yml

+6-8
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
generate-changelog:
9-
runs-on: self-hosted
9+
runs-on: ubuntu-latest
1010

1111
permissions:
1212
contents: write
@@ -18,20 +18,18 @@ jobs:
1818
with:
1919
ref: main
2020

21-
- name: Setup Ruby
22-
uses: ruby/setup-ruby@v1
23-
with:
24-
ruby-version: 3.3
25-
2621
- name: Install github-changelog-generator
2722
run: |
28-
gem install github_changelog_generator
23+
gem install --user-install github_changelog_generator
24+
echo "GEM_HOME=$HOME/.local/share/gem/ruby/3.2.0" >> $GITHUB_ENV
25+
echo "PATH=$HOME/.local/share/gem/ruby/3.2.0/bin:$PATH" >> $GITHUB_ENV
2926
3027
- name: Generate Changelog
3128
env:
3229
CHANGELOG_GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
30+
PATH: ${{ env.PATH }}
3331
run: |
34-
github_changelog_generator --user konstructio --project konstruct-ui
32+
$HOME/.local/share/gem/ruby/3.2.0/bin/github_changelog_generator --user konstructio --project konstruct-ui
3533
3634
- name: Extract release version
3735
id: extract_version

0 commit comments

Comments
 (0)