File tree Expand file tree Collapse file tree 1 file changed +15
-4
lines changed
Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -13,15 +13,26 @@ jobs:
1313 contents : write
1414 runs-on : ubuntu-latest
1515 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
1818 with :
1919 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
2132 run : |
2233 current_path=${{ github.workspace }}
2334 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");'
2536 - name : Build and deploy
2637 env :
2738 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
You can’t perform that action at this time.
0 commit comments