We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a90a5a2 + 81f2a15 commit d28d998Copy full SHA for d28d998
.github/workflows/test.yml
@@ -67,3 +67,11 @@ jobs:
67
options: |
68
-e key1=val1
69
-e key2=val2
70
+ - name: Test local
71
+ uses: ./
72
+ with:
73
+ playbook: playbook.yml
74
+ vault_password: test
75
+ inventory: |
76
+ [all]
77
+ localhost ansible_connection=local
post.js
@@ -2,8 +2,10 @@ const core = require('@actions/core')
2
const fs = require('fs')
3
4
function rm(file) {
5
- core.info(`==> Deleting "${file}" file`)
6
- fs.unlinkSync(file)
+ if (fs.existsSync(file)) {
+ core.info(`==> Deleting "${file}" file`)
7
+ fs.unlinkSync(file)
8
+ }
9
}
10
11
async function main() {
0 commit comments