Skip to content

Commit

Permalink
Moving output of version to run step
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmcgivery committed Sep 11, 2024
1 parent e20a75f commit fe62571
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ jobs:
run: |
cargo build --release --target ${{ matrix.TARGET }}
- name: Get Package Version
id: get_package_version
run: echo "PACKAGE_VERSION=$(cargo pkgid | cut -d '#' -f 2 | cut -d ':' -f 2)" >> $GITHUB_ENV
- run: echo Built for version ${{ env.PACKAGE_VERSION }}
- run: cargo run
- name: Running examples
run: |
echo Built for version ${{ env.PACKAGE_VERSION }}
cargo run

0 comments on commit fe62571

Please sign in to comment.