From d6709a0c93c7cdc24f4e99e4fed1281f155385c4 Mon Sep 17 00:00:00 2001
From: Xiphe <github@xiphe.net>
Date: Tue, 6 Sep 2022 14:33:35 +0200
Subject: [PATCH] fix: use cjs for config file

---
 action.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/action.yml b/action.yml
index 47372d1..3de66d6 100644
--- a/action.yml
+++ b/action.yml
@@ -36,7 +36,7 @@ runs:
         cd ${{ inputs.directory }}
 
         if [ "${{inputs.add_config}}" = true ]; then
-          cp ${{ github.action_path }}/release.config.template.js ./release.config.js
+          cp ${{ github.action_path }}/release.config.template.js ./release.config.cjs
         fi
 
         if [ "${{github.event_name}}" = "push" ]; then