From 56e063d7d8bf9972ac54aca4454d3a6675917f44 Mon Sep 17 00:00:00 2001 From: GeekyEggo Date: Wed, 29 Apr 2020 22:38:53 +0100 Subject: [PATCH] Added example workflow --- .github/workflows/example.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/example.yml diff --git a/.github/workflows/example.yml b/.github/workflows/example.yml new file mode 100644 index 0000000..305d105 --- /dev/null +++ b/.github/workflows/example.yml @@ -0,0 +1,27 @@ +name: Example +# an example workflow that also monitors success of the preview api + +on: + schedule: + - cron: '0 */6 * * *' + # every 6 hours + +defaults: + run: + shell: bash + +jobs: + test: + runs-on: windows-latest + + steps: + - run: echo hello > world.txt + + - uses: actions/upload-artifact@v1 + with: + name: my-artifact + path: world.txt + + - uses: geekyeggo/delete-artifact@v1 + with: + name: my-artifact