Skip to content

Commit

Permalink
CI: write version to GITHUB_OUTPUT
Browse files Browse the repository at this point in the history
  • Loading branch information
ahihi committed Aug 1, 2024
1 parent 6ab14cf commit ba480ae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ jobs:
id: meta
run: |
version=$(cargo metadata --format-version 1 --no-deps | jq -r '.packages[] | select(.name == "'"$PROJECT_NAME"'").version')
echo "version=$version"
>> "$GITHUB_OUTPUT"
echo "version=$version" >> "$GITHUB_OUTPUT"
- name: retrieve ${{ matrix.target }} binary
uses: dawidd6/action-download-artifact@v6
Expand Down

0 comments on commit ba480ae

Please sign in to comment.