fix(ci): fix error in extract version step
This commit is contained in:
parent
679e95f952
commit
3b00bf53f3
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
|
@ -20,10 +20,13 @@ jobs:
|
|||
outputs:
|
||||
espanso_version: ${{ steps.version.outputs.version }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: "Extract version"
|
||||
id: "version"
|
||||
run: |
|
||||
echo "::set-output name=version::v$(cat espanso/Cargo.toml | grep version | head -1 | awk -F '"' '{ print $2 }')"
|
||||
ESPANSO_VERSION=$(cat espanso/Cargo.toml | grep version | head -1 | awk -F '"' '{ print $2 }')
|
||||
echo version: $ESPANSO_VERSION
|
||||
echo "::set-output name=version::v$ESPANSO_VERSION"
|
||||
|
||||
windows:
|
||||
needs: ["extract-version"]
|
||||
|
|
Loading…
Reference in New Issue
Block a user