Skip to content

Commit 56e063d

Browse files
committed
Added example workflow
1 parent b1df0e6 commit 56e063d

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/example.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Example
2+
# an example workflow that also monitors success of the preview api
3+
4+
on:
5+
schedule:
6+
- cron: '0 */6 * * *'
7+
# every 6 hours
8+
9+
defaults:
10+
run:
11+
shell: bash
12+
13+
jobs:
14+
test:
15+
runs-on: windows-latest
16+
17+
steps:
18+
- run: echo hello > world.txt
19+
20+
- uses: actions/upload-artifact@v1
21+
with:
22+
name: my-artifact
23+
path: world.txt
24+
25+
- uses: geekyeggo/delete-artifact@v1
26+
with:
27+
name: my-artifact

0 commit comments

Comments
 (0)