Skip to content

Commit 73ffa4a

Browse files
Merge pull request #52 from SciML/ChrisRackauckas-patch-1
Update Documentation.yml generator
2 parents 46090e6 + cecbf04 commit 73ffa4a

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

.github/workflows/Documentation.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,29 @@ on:
55
branches:
66
- main
77
- 'release-'
8-
tags: '*'
8+
tags: ['*']
99
pull_request:
10+
types: [opened, synchronize, reopened]
11+
12+
concurrency:
13+
# Skip intermediate builds: always.
14+
# Cancel intermediate builds: only if it is a pull request build.
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
1017

1118
jobs:
1219
build:
1320
runs-on: ubuntu-latest
1421
steps:
1522
- uses: actions/checkout@v4
16-
- uses: julia-actions/setup-julia@latest
23+
- uses: julia-actions/setup-julia@v2
1724
with:
1825
version: '1'
26+
- uses: julia-actions/cache@v2
1927
- name: Install dependencies
2028
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
2129
- name: Build and deploy
2230
env:
23-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
24-
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
25-
run: julia --project=docs/ --code-coverage=user docs/make.jl
26-
- uses: julia-actions/julia-processcoverage@v1
27-
- uses: codecov/codecov-action@v5
28-
with:
29-
files: lcov.info
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
33+
run: julia --project=docs/ docs/make.jl

0 commit comments

Comments
 (0)