Skip to content

Commit 8e5ee33

Browse files
committed
.
1 parent 3bb3a5d commit 8e5ee33

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/archive.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ jobs:
3939
run: echo "PLAYWRIGHT_VERSION=$(jq -r '.dependencies.playwright' package.json)" >> $GITHUB_ENV
4040

4141
- name: Cache Playwright executables
42-
id: playwright-cache
4342
uses: actions/cache@v3
4443
with:
4544
path: ~/.cache/ms-playwright
@@ -61,5 +60,5 @@ jobs:
6160
git add conversations/*.html || true
6261
git add -u conversations/*.html || true
6362
git diff --cached --quiet && exit 0
64-
git commit -F .git/commitmsg
63+
git commit -m "${{ steps.archive.outputs }}"
6564
git push

src/archive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ try {
5555

5656
// Compose commit message and output it for workflow
5757
const commitMessage = buildCommitMessage(added, deleted)
58-
await writeFile(".git/commit-msg", commitMessage, "utf8")
58+
process.env["GITHUB_OUTPUT"] = commitMessage

0 commit comments

Comments
 (0)