-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (47 loc) · 1.6 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
name: test
on: [push]
jobs:
test-example:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
branch: test-example-published-files
source-dir: test
files-and-dirs: 'a.txt b.txt some_dir "file with space.txt" "directory with space"'
test-simple:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
branch: test-simple-published-files
files-and-dirs: README.md
test-complex:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./
with:
github-token: ${{ secrets.PAT }}
github-actor: antaljanosbenjamin
github-repository: antaljanosbenjamin/test-repository
branch: test-complex-published-files
source-dir: test
files-and-dirs: 'a.txt ${{ github.workspace }}/test/b.txt some_dir other_dir/e.txt "file with space.txt" "directory with space"'
author-name: 'Test Author'
author-email: [email protected]
commit-message: 'Some very long commit message that uses build number and hashmark #${{ github.run_number }}'
test-source-dir-with-space:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
branch: test-source-dir-with-space-published-files
source-dir: test/directory with space
files-and-dirs: d.txt