generated from GuillaumeFalourd/repo-template
-
Notifications
You must be signed in to change notification settings - Fork 4
35 lines (32 loc) · 1.13 KB
/
windows-action-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Action test on Windows
on:
schedule:
- cron: "0 2 * * MON-FRI" # Runs at 02:00 UTC
push:
workflow_dispatch:
jobs:
windows-minimal:
runs-on: windows-latest
if: github.event_name != 'push'
steps:
- uses: actions/checkout@v2.3.4
- run: date > windows_report_minimal.txt
- uses: GuillaumeFalourd/copy-push-files@main
with:
source_files: windows_report_minimal.txt
remote_repository: https://github.com/GuillaumeFalourd/poc-github-actions
access_token: ${{ secrets.ACCESS_TOKEN }}
windows-full:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2.3.4
- run: date > windows_report_full.txt
- uses: GuillaumeFalourd/copy-push-files@main
with:
email: ${{ github.actor }}[bot]@users.noreply.github.com
name: ${{ github.actor }}
commit_message: windows full workflow
target_branch: copy-push-files-windows
source_files: windows_report_full.txt
remote_repository: https://github.com/GuillaumeFalourd/poc-github-actions
access_token: ${{ secrets.ACCESS_TOKEN }}