Skip to content

Commit 36f979d

Browse files
committed
test
1 parent effb864 commit 36f979d

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/action.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,14 @@ jobs:
44
Explore-GitHub-Actions:
55
runs-on: ubuntu-latest
66
steps:
7-
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
7+
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
8+
- uses: actions/github-script@v4
9+
with:
10+
script: |
11+
var fs = require('fs');
12+
try {
13+
fs.mkdirSync('./.github/conditional/tmp', {recursive: true});
14+
} catch {
15+
}
16+
fs.writeFileSync('./.github/conditional/tmp/action.yml', 'name: Actions Demo');
17+
- uses: ./.github/conditional/tmp

0 commit comments

Comments
 (0)