diff --git a/Project.toml b/Project.toml index 58e73ea..e7996ff 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "PkgJogger" uuid = "10150987-6cc1-4b76-abee-b1c1cbd91c01" authors = ["Alexius Wadell and contributors"] -version = "0.4.1" +version = "0.4.2" [deps] BSON = "fbb218c0-5317-5bc6-957e-2ee96dd4b1f0" diff --git a/action.yml b/action.yml index 9ff7c2b..c2ea3db 100644 --- a/action.yml +++ b/action.yml @@ -22,20 +22,13 @@ runs: - name: 🏃 Install PkgJogger id: install_pkgjogger run: > - PKG_JOGGER_ENV=$(mktemp --directory); - echo "::set-output name=env::$(echo $PKG_JOGGER_ENV)"; - julia --color=yes --project="$PKG_JOGGER_ENV" --eval - 'using Pkg; Pkg.develop(name="PkgJogger", path="${{ github.action_path }}")' + julia --color=yes --eval + 'using Pkg; Pkg.develop(PackageSpec(; name="PkgJogger", path="${{ github.action_path }}"))' shell: bash - - name: ⏱ Run Benchmarks + - name: ⏱ Run Benchmarks id: run_benchmarks run: > - ${{ inputs.prefix }} julia --project="${{ steps.install_pkgjogger.outputs.env }}" --color=yes + ${{ inputs.prefix }} julia --color=yes ${{ inputs.options }} --eval 'using PkgJogger; PkgJogger.ci()' shell: bash - - - name: 🧹 Cleanup PkgJogger - id: Cleanup - run: rm -rf "${{ steps.install_pkgjogger.outputs.env }}" - shell: bash diff --git a/src/ci.jl b/src/ci.jl index 3bdfb1d..49f3262 100644 --- a/src/ci.jl +++ b/src/ci.jl @@ -274,4 +274,3 @@ function list_benchmarks(dir) @assert !isempty(r) "No benchmarking results found in $dir" return r end -