File tree Expand file tree Collapse file tree 1 file changed +16
-12
lines changed Expand file tree Collapse file tree 1 file changed +16
-12
lines changed Original file line number Diff line number Diff line change 1
1
name : Documentation
2
-
3
- on :
4
- push :
5
- branches :
6
- - main
7
- tags : ' *'
8
- pull_request :
9
-
10
2
jobs :
11
3
build :
12
4
permissions :
13
5
contents : write
14
6
runs-on : ubuntu-latest
15
7
steps :
16
- - uses : actions/checkout@v2
17
- - uses : julia-actions/setup-julia@latest
8
+ steps :
9
+ - uses : actions/checkout@v4
10
+ - uses : julia-actions/setup-julia@v1
18
11
with :
19
12
version : ' 1.10'
20
- - name : Install dependencies
13
+ - uses : actions/cache@v1
14
+ env :
15
+ cache-name : cache-artifacts
16
+ with :
17
+ path : ~/.julia/artifacts
18
+ key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
19
+ restore-keys : |
20
+ ${{ runner.os }}-test-${{ env.cache-name }}-
21
+ ${{ runner.os }}-test-
22
+ ${{ runner.os }}-
23
+ - uses : julia-actions/julia-buildpkg@v1
24
+ - name : Build
21
25
run : |
22
26
current_path=${{ github.workspace }}
23
27
export JULIA_CONDAPKG_ENV="$current_path/rms_env"
24
- julia --project=docs/ - e 'using Pkg; Pkg.develop(PackageSpec(path=pwd() )); Pkg.build("ReactionMechanismSimulator");'
28
+ julia -e 'using Pkg; Pkg.develop(Pkg. PackageSpec(path="../ReactionMechanismSimulator.jl/" )); Pkg.build("ReactionMechanismSimulator");'
25
29
- name : Build and deploy
26
30
env :
27
31
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
You can’t perform that action at this time.
0 commit comments