Skip to content

Commit 3b5dd81

Browse files
authored
Split workflows (#179)
[BUG] * split into 2 workflows, one should kick off the other
1 parent 765a152 commit 3b5dd81

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/updateChangelog.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,8 @@ jobs:
3838
run: ls -la
3939
- name: 'Store entry'
4040
id: pull
41-
uses: actions/github-script@v7
42-
with:
43-
script: |
44-
const fs = require('fs');
45-
const path = require('path');
46-
const temp = '${{ runner.temp }}/artifacts';
47-
const changelog_entry = Number(fs.readFileSync(path.join(temp, 'changelog_entry')));
48-
echo message="$changelog_entry" >> $GITHUB_OUTPUT
41+
run: |
42+
echo message="$(cat changelog_entry.txt)" >> $GITHUB_OUTPUT
4943
# check-for-changelog-entry
5044
changelog-entry:
5145
# if contains to check for bug, enhancement, feature

0 commit comments

Comments
 (0)