Skip to content

Commit

Permalink
Fix version output in Github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmcm committed Dec 31, 2024
1 parent da389a8 commit ef608e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ jobs:
quickcheck:
runs-on: ubuntu-latest
outputs:
version: ${{ steps.rustversion.outputs.rustversion }}
version: ${{ steps.rustversion.outputs.version }}
steps:
- uses: actions/checkout@v4
- run: cargo check
- run: cargo pkgid
- run: 'echo "$(cargo pkgid | cut -d# -f2)"'
- id: rustversion
run: 'echo "name=rustversion::$(cargo pkgid | cut -d# -f2)" >> $GITHUB_OUTPUT'
run: 'echo "version=$(cargo pkgid | cut -d# -f2)" >> $GITHUB_OUTPUT'
build:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit ef608e7

Please sign in to comment.