mirror of
https://github.com/sergi0g/cup.git
synced 2025-11-08 05:03:49 -05:00
Update nightly.yml
Make jq output unquoted string
This commit is contained in:
2
.github/workflows/nightly.yml
vendored
2
.github/workflows/nightly.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
||||
- name: Get tag from Cargo.toml
|
||||
id: get_tag
|
||||
run: |
|
||||
VERSION=$(cargo metadata --format-version=1 --no-deps | jq '.packages[0].version')
|
||||
VERSION=$(cargo metadata --format-version=1 --no-deps | jq -r '.packages[0].version')
|
||||
echo "tagname=v$VERSION-nightly.${{ github.event.inputs.tag }}" >> $GITHUB_OUTPUT
|
||||
|
||||
- uses: rickstaa/action-create-tag@v1
|
||||
|
||||
Reference in New Issue
Block a user