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:
|
outputs:
|
||||||
espanso_version: ${{ steps.version.outputs.version }}
|
espanso_version: ${{ steps.version.outputs.version }}
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
- name: "Extract version"
|
- name: "Extract version"
|
||||||
id: "version"
|
id: "version"
|
||||||
run: |
|
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:
|
windows:
|
||||||
needs: ["extract-version"]
|
needs: ["extract-version"]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user