Skip to content

Commit

Permalink
Fix wrong env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jofas committed Apr 22, 2023
1 parent 4706b4e commit 0e2cc1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
- name: Install toml-cli
run: cargo install toml-cli
- name: Extract Cargo.toml Version
run: echo "VERSION=$(toml get -r Cargo.toml package.version)" >> "$GITHUB_ENV"
run: echo "CRATE_VERSION=$(toml get -r Cargo.toml package.version)" >> "$GITHUB_ENV"
- name: Check Version
run: |
[ "${{ format('v{0}', env.CARGO_VERSION) }}" == "${{ github.ref_name }}" ]
[ "${{ format('v{0}', env.CRATE_VERSION) }}" == "${{ github.ref_name }}" ]
- name: Publish
run: cargo publish
env:
Expand Down

1 comment on commit 0e2cc1a

@github-actions
Copy link

Choose a reason for hiding this comment

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

Benchmark

Benchmark suite Current: 0e2cc1a Previous: 4706b4e Ratio
map allocation 201411618 ns/iter (± 575113) 172039780 ns/iter (± 98835) 1.17
set allocation 211275415 ns/iter (± 1590650) 210537884 ns/iter (± 62674) 1.00
vec_no_clone allocation 551022975 ns/iter (± 2485288) 880696270 ns/iter (± 19412445) 0.63

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.