Skip to content

Commit a39e4b9

Browse files
committed
fix: reverted
1 parent 071ee70 commit a39e4b9

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ jobs:
3737
uses: actions/upload-artifact@v4
3838
with:
3939
name: vpn-logs
40-
path: /tmp/openvpn.log
40+
path: openvpn.log

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ To use this action, you need to provide the necessary configuration details for
3131
uses: actions/upload-artifact@v4
3232
with:
3333
name: vpn-logs
34-
path: /tmp/openvpn.log
34+
path: openvpn.log
3535
```
3636
3737
Make sure to store your sensitive information (such as the config, certificate, and certificate_name) as secrets in your GitHub repository to keep them secure.

dist_main/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25413,7 +25413,7 @@ const run = (callback) => {
2541325413
const openVpnLog = "openvpn.log";
2541425414
const configFilePath = `${tmpDir}/${configFileName}`;
2541525415
const certificateFilePath = `${tmpDir}/${certificateName}`;
25416-
const logFilePath = `${tmpDir}/${openVpnLog}`;
25416+
const logFilePath = `${openVpnLog}`;
2541725417

2541825418
// If the certificate is base64 encoded, decode it and write it to a temporary file
2541925419
exec(`echo "${configFile}" > ${configFilePath}`);

src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const run = (callback) => {
1515
const openVpnLog = "openvpn.log";
1616
const configFilePath = `${tmpDir}/${configFileName}`;
1717
const certificateFilePath = `${tmpDir}/${certificateName}`;
18-
const logFilePath = `${tmpDir}/${openVpnLog}`;
18+
const logFilePath = `${openVpnLog}`;
1919

2020
// If the certificate is base64 encoded, decode it and write it to a temporary file
2121
exec(`echo "${configFile}" > ${configFilePath}`);

0 commit comments

Comments
 (0)