This commit is contained in:
Joel Wachsler 2022-07-10 20:39:45 +00:00
parent cb0ae41354
commit 081e956e2c

View File

@ -10,7 +10,9 @@ jobs:
- name: Determine version
id: determine-version
run: echo "::set-output name=version::cat Cargo.toml | grep version | head -1 | sed 's/version = //' | sed 's/\"//g'"
run: |
VERSION=$(cat Cargo.toml | grep version | head -1 | sed 's/version = //' | sed 's/"//g')
echo "::set-output name=version::$VERSION"
- name: Get previous output
run: echo "${{ steps.determine-version.outputs.version }}"