Skip to content

Commit 7705c0e

Browse files
committed
test
1 parent 36f979d commit 7705c0e

File tree

1 file changed

+10
-16
lines changed

1 file changed

+10
-16
lines changed

.github/workflows/action.yaml

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
1-
name: GitHub Actions Demo
2-
on: [push]
3-
jobs:
4-
Explore-GitHub-Actions:
5-
runs-on: ubuntu-latest
1+
name: Test
2+
description: 'composite run action'
3+
4+
runs:
5+
using: "composite"
6+
steps:
67
steps:
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
8+
- name: Echo
9+
shell: bash
10+
run: |
11+
echo Heyyyyy

0 commit comments

Comments
 (0)