Skip to content

Commit 2e55808

Browse files
committed
Use format-release for yaml update
1 parent 1513a94 commit 2e55808

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/draft-release.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/checkout@v4
19+
with:
20+
path: www
21+
22+
- uses: actions/checkout@v4
23+
with:
24+
repository: ruby/ruby
25+
path: ruby
1926

2027
- uses: ruby/setup-ruby@v1
2128
with:
@@ -25,6 +32,11 @@ jobs:
2532
run: |
2633
ruby lib/draft-release.rb ${{ github.event.client_payload.version || github.event.inputs.version }}
2734
35+
- name: Update data files
36+
run: |
37+
tool/format-release ../www ${{ github.event.client_payload.version || github.event.inputs.version }} .
38+
working-directory: ruby
39+
2840
- name: Create Commit
2941
run: |
3042
git config user.name "GitHub Actions Bot"
@@ -43,3 +55,5 @@ jobs:
4355
title: "Create release for ${{ github.event.client_payload.version || github.event.inputs.version }}"
4456
body: "This is an automated pull request to create a release"
4557
draft: true
58+
59+
working-directory: www

0 commit comments

Comments
 (0)