File tree Expand file tree Collapse file tree 4 files changed +76
-33
lines changed Expand file tree Collapse file tree 4 files changed +76
-33
lines changed Original file line number Diff line number Diff line change 1
1
name : TagBot
2
2
on :
3
- schedule :
4
- - cron : 0 * * * *
3
+ issue_comment : # THIS BIT IS NEW
4
+ types :
5
+ - created
6
+ workflow_dispatch :
5
7
jobs :
6
8
TagBot :
9
+ # THIS 'if' LINE IS NEW
10
+ if : github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
11
+ # NOTHING BELOW HAS CHANGED
7
12
runs-on : ubuntu-latest
8
13
steps :
9
14
- uses : JuliaRegistries/TagBot@v1
10
15
with :
11
16
token : ${{ secrets.GITHUB_TOKEN }}
17
+ ssh : ${{ secrets.DOCUMENTER_KEY }}
Original file line number Diff line number Diff line change
1
+ name : CI
2
+ on :
3
+ push :
4
+ branches : [master]
5
+ pull_request :
6
+ types : [opened, synchronize, reopened]
7
+ jobs :
8
+ test :
9
+ name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
10
+ runs-on : ${{ matrix.os }}
11
+ strategy :
12
+ fail-fast : false
13
+ matrix :
14
+ include :
15
+ - version : ' 1'
16
+ os : ubuntu-latest
17
+ arch : x64
18
+ - version : ' 1.0'
19
+ os : ubuntu-latest
20
+ arch : x64
21
+ - version : ' 1.0'
22
+ os : ubuntu-latest
23
+ arch : x86
24
+ steps :
25
+ - uses : actions/checkout@v2
26
+ - uses : julia-actions/setup-julia@v1
27
+ with :
28
+ version : ${{ matrix.version }}
29
+ arch : ${{ matrix.arch }}
30
+ - uses : actions/cache@v1
31
+ env :
32
+ cache-name : cache-artifacts
33
+ with :
34
+ path : ~/.julia/artifacts
35
+ key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
36
+ restore-keys : |
37
+ ${{ runner.os }}-test-${{ env.cache-name }}-
38
+ ${{ runner.os }}-test-
39
+ ${{ runner.os }}-
40
+ - uses : julia-actions/julia-buildpkg@v1
41
+ - uses : julia-actions/julia-runtest@v1
42
+ - uses : julia-actions/julia-processcoverage@v1
43
+ - uses : codecov/codecov-action@v1
44
+ with :
45
+ file : lcov.info
Original file line number Diff line number Diff line change
1
+ name : Documentation
2
+ on :
3
+ push :
4
+ branches : [master]
5
+ tags : ' *'
6
+ pull_request :
7
+ types : [opened, synchronize, reopened]
8
+ jobs :
9
+ build :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : actions/checkout@v2
13
+ - uses : julia-actions/setup-julia@latest
14
+ with :
15
+ # Build documentation on Julia 1.0
16
+ version : ' 1.0'
17
+ - name : Install dependencies
18
+ run : julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
19
+ - name : Build and deploy
20
+ env :
21
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
22
+ DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
23
+ run : julia --project=docs/ docs/make.jl
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments