Skip to content

Commit

Permalink
Merge pull request #66 from awadell1/rm-save-state
Browse files Browse the repository at this point in the history
Remove use of save-state
  • Loading branch information
awadell1 authored Aug 18, 2023
2 parents 30e5e5b + c5a99a7 commit 2dd3f54
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "PkgJogger"
uuid = "10150987-6cc1-4b76-abee-b1c1cbd91c01"
authors = ["Alexius Wadell <[email protected]> and contributors"]
version = "0.4.1"
version = "0.4.2"

[deps]
BSON = "fbb218c0-5317-5bc6-957e-2ee96dd4b1f0"
Expand Down
15 changes: 4 additions & 11 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 0 additions & 1 deletion src/ci.jl
Original file line number Diff line number Diff line change
Expand Up @@ -274,4 +274,3 @@ function list_benchmarks(dir)
@assert !isempty(r) "No benchmarking results found in $dir"
return r
end

2 comments on commit 2dd3f54

@awadell1
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/89860

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.4.2 -m "<description of version>" 2dd3f5411d695bdc72f87eebc899e701fc95a062
git push origin v0.4.2

Please sign in to comment.