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