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